Home > MCQs > IT & Programming > Windows PowerShell MCQs

Windows PowerShell MCQ

Windows PowerShell Quick Quiz

Question 1 of 10
  • While working with scripts in Windows PowerShell ISE, which of the following keyboard shortcuts can be used to show snippets in the Script and Command panes?

    Answer & Explanation

    Correct Answer: CTRL + J

    Note: This Question is unanswered, help us to find answer for this one

  • Which of the following commands can be used to start a Windows PowerShell background job on a local computer?

    Answer & Explanation

    Correct Answer: Start-Job

    Note: This Question is unanswered, help us to find answer for this one

  • Suppose that you are working with the Script pane in Windows PowerShell ISE. You are searching a particular text that has multiple occurrences in the script. Which of the following keyboard shortcuts is used to find the previous occurrence of that text in the script?

    Answer & Explanation

    Correct Answer: Shift + F3

    Note: This Question is unanswered, help us to find answer for this one

  • In Windows PowerShell, the Set-StrictMode cmdlet affects which of the following scopes?

    Answer & Explanation

    Correct Answer: Current scope and its child scopes.

    Note: This Question is unanswered, help us to find answer for this one

  • With respect to the Test-Connection cmdlet in Windows PowerShell, which of the following are the valid values for the parameter, -WsmanAuthentication?

    Answer & Explanation

    Correct Answer: Digest

    Note: This Question is unanswered, help us to find answer for this one

  • Which of the following cmdlets, contained in the Windows PowerShell Microsoft.WSMan.Management module, is used to configure a local computer for remote management?

    Answer & Explanation

    Correct Answer: Set-WSManQuickConfig

    Note: This Question is unanswered, help us to find answer for this one

  • Which of the following PowerShell commands is used to import the commands from a different session and save them in a Windows PowerShell module?

    Answer & Explanation

    Correct Answer: Export-PSSession

    Note: This Question is unanswered, help us to find answer for this one

  • In Windows PowerShell ISE, what is the maximum value of the Zoom property of the ISEOptions object?

    Answer & Explanation

    Correct Answer: 400

    Note: This Question is unanswered, help us to find answer for this one

  • Suppose that you are an administrator and you start a Windows PowerShell session from the command line of another tool such as cmd.exe. If you use a -WindowStyle parameter to set the style for the session, then which of the following are the valid values that can be used?

    Answer & Explanation

    Correct Answer: Hidden

    Note: This Question is unanswered, help us to find answer for this one

  • In Windows PowerShell, which of the following options are the optional parameters of the Invoke-History cmdlet? 1. WhatIf 2. Confirm 3. Id

    Answer & Explanation

    Correct Answer: All options 1, 2 and 3.

    Note: This Question is unanswered, help us to find answer for this one

  • Windows PowerShell Quick Quiz

    battery

    Poor Results!

    You need a lot of improvement.

    Just don't give up!

    Correct Answers: 0/10

    Start Practicing with our MCQs given below.