Correct Answer:
Both options a and b.
Note: This Question is unanswered, help us to find answer for this one
Correct Answer:
Persistent connections can be created using Windows PowerShell.
We can run background jobs remotely.
Note: This question has more than 1 correct answers
Note: This Question is unanswered, help us to find answer for this one
Correct Answer:
HTTP: 5985
HTTPS: 5986
Note: This question has more than 1 correct answers
Note: This Question is unanswered, help us to find answer for this one
Which of the following statements are correct about Windows PowerShell?
1. It is not a scripting language.
2. It is a command-line interface designed especially for system administrators.
3. It gives you access to the file system on your computer.
4. It enables you to access system registry but not the digital signature certificate stores.
Correct Answer:
Only statements 2 and 3 are correct.
Note: This Question is unanswered, help us to find answer for this one
Correct Answer:
It is used to delete the contents of an item.
Note: This Question is unanswered, help us to find answer for this one
Correct Answer:
Format-Wide
Note: This Question is unanswered, help us to find answer for this one
Correct Answer:
Export-PSSession
Note: This Question is unanswered, help us to find answer for this one
Correct Answer:
F8
Note: This Question is unanswered, help us to find answer for this one
While importing performance counter data through the Import-Counter cmdlet in Windows PowerShell, which of the following files can be used to import data?
1. comma-separated value (.csv)
2. tab-separated value (.tsv)
3. binary performance log (.blg)
4. text (.txt)
Correct Answer:
Only options 1, 2 and 3.
Note: This Question is unanswered, help us to find answer for this one
Correct Answer:
LiteralPath
Path
Note: This question has more than 1 correct answers
Note: This Question is unanswered, help us to find answer for this one
Correct Answer:
-ExclusiveFilter
Note: This Question is unanswered, help us to find answer for this one
Choose True or False.
When the Receive-PSSession cmdlet is used to connect to a session where no commands are running/suspended, then no output is returned.
Correct Answer:
True
Note: This Question is unanswered, help us to find answer for this one
Correct Answer:
CTRL + BREAK
CTRL + C
Note: This question has more than 1 correct answers
Note: This Question is unanswered, help us to find answer for this one
Correct Answer:
$
Note: This Question is unanswered, help us to find answer for this one
Correct Answer:
Enter-PSSession
Note: This Question is unanswered, help us to find answer for this one
In Windows PowerShell, the Debug-Job cmdlet is designed to debug which of the following jobs?
1. Windows PowerShell Workflow jobs.
2. Background jobs.
3. Jobs running in remote sessions.
Correct Answer:
All options 1, 2 and 3.
Note: This Question is unanswered, help us to find answer for this one
In Windows PowerShell, which of the following statements is/are correct about the Get-IseSnippet cmdlet?
1. It can get the PS1XML files that do not contain reusable text snippets created by a user.
2. It can only work in Windows PowerShell ISE.
3. It can be used to get the built-in snippets.
4. It cannot be used to get the snippets that are imported from the modules through the Import-IseSnippet cmdlet.
Correct Answer:
Only statements 2 and 4.
Note: This Question is unanswered, help us to find answer for this one
Correct Answer:
PS C:\> Enable-PSRemoting -Force
Note: This Question is unanswered, help us to find answer for this one
Correct Answer:
Current user, PowerShell ISE
All users, PowerShell ISE
Note: This question has more than 1 correct answers
Note: This Question is unanswered, help us to find answer for this one
Correct Answer:
RemoteSigned
AllSigned
Note: This question has more than 1 correct answers
Note: This Question is unanswered, help us to find answer for this one
Which of the following statements are correct about Windows PowerShell providers?
1. They are used to manage the properties of items in a data store.
2. They cannot be used to move items in a data store.
3. They can be used to create drives.
4. They cannot be used to remove drives.
Correct Answer:
Only statements 1 and 3 are correct.
Note: This Question is unanswered, help us to find answer for this one
Which of the following encoding options are supported by Windows PowerShell ISE?
1. ASCII
2. UTF32
3. UTF7
4. BigEndianUnicode
Correct Answer:
All options 1, 2, 3 and 4.
Note: This Question is unanswered, help us to find answer for this one
Correct Answer:
CTRL + 3
Note: This Question is unanswered, help us to find answer for this one
Correct Answer:
$False
Note: This Question is unanswered, help us to find answer for this one
Correct Answer:
All options 1, 2 and 3.
Note: This Question is unanswered, help us to find answer for this one
Correct Answer:
The PowerShellTab
Note: This Question is unanswered, help us to find answer for this one
Correct Answer:
Basic
Kerberos
Note: This question has more than 1 correct answers
Note: This Question is unanswered, help us to find answer for this one
Correct Answer:
Default
Digest
Note: This question has more than 1 correct answers
Note: This Question is unanswered, help us to find answer for this one
Correct Answer:
Normal
Minimized
Hidden
Note: This question has more than 1 correct answers
Note: This Question is unanswered, help us to find answer for this one
Correct Answer:
Line breakpoint.
Note: This Question is unanswered, help us to find answer for this one
Correct Answer:
Write-Output
Note: This Question is unanswered, help us to find answer for this one
Correct Answer:
Shift + F3
Note: This Question is unanswered, help us to find answer for this one
In Windows PowerShell, which of the following statements are INCORRECT about the Connect-PSSession cmdlet?
1. It can be used to re-connect to the Windows PowerShell sessions that are managed by a user.
2. It can be used to connect to broken or closed sessions.
3. It can be used to connect sessions to sessions started by other users without providing the credentials of the user who created the session.
Correct Answer:
Only statements 2 and 3.
Note: This Question is unanswered, help us to find answer for this one
Correct Answer:
V
K
Note: This question has more than 1 correct answers
Note: This Question is unanswered, help us to find answer for this one
Suppose that you want to search the cmdlets that do not have the Session parameter but have the ComputerName parameter, and support remoting without special configuration.
Which of the following options is the correct format of the command that can be used to find these cmdlets?
Correct Answer:
Get-Command | where { $_.parameters.keys -contains} Get-Command | where { $_.parameters.keys -contains}
Note: This question has more than 1 correct answers
Note: This Question is unanswered, help us to find answer for this one
Which of the following statements are correct about Windows PowerShell and DOS?
1. Windows PowerShell can use pipes to pass the output of one cmdlet to the input for another cmdlet.
2. We can access and manage a system
3. In PowerShell, output of cmdlets is a collection of objects.
4. Windows PowerShell is a fully developed scripting language.
Correct Answer:
Only statements 1, 3 and 4 are correct.
Note: This Question is unanswered, help us to find answer for this one
Which of the following UNIX commands can be used inside Windows PowerShell?
1. cat
2. mount
3. popd
4. kill
Correct Answer:
All options 1, 2, 3 and 4.
Note: This Question is unanswered, help us to find answer for this one
Correct Answer:
Current scope and its child scopes.
Note: This Question is unanswered, help us to find answer for this one
Correct Answer:
-ShowError
Note: This Question is unanswered, help us to find answer for this one
Correct Answer:
Get-Acl
Note: This Question is unanswered, help us to find answer for this one
Correct Answer:
.psd1
Note: This Question is unanswered, help us to find answer for this one
Correct Answer:
FAN-OUT configuration
Note: This Question is unanswered, help us to find answer for this one
Correct Answer:
Clear()
Focus()
ToggleOutliningExpansion()
Note: This question has more than 1 correct answers
Note: This Question is unanswered, help us to find answer for this one
Correct Answer:
-Member
Note: This Question is unanswered, help us to find answer for this one
Correct Answer:
Set-WSManQuickConfig
Note: This Question is unanswered, help us to find answer for this one
Correct Answer:
F9
Note: This Question is unanswered, help us to find answer for this one
Correct Answer:
CTRL + R
Note: This Question is unanswered, help us to find answer for this one
Correct Answer:
Workflow tasks can never be scheduled.
Note: This Question is unanswered, help us to find answer for this one
Correct Answer:
400
Note: This Question is unanswered, help us to find answer for this one
Correct Answer:
CTRL + SHIFT + P
Note: This Question is unanswered, help us to find answer for this one
Correct Answer:
Start-Job
Note: This Question is unanswered, help us to find answer for this one
In relation to the New-PSWorkflowExecutionOption cmdlet in Windows PowerShell ISE, the -MaxDisconnectedSessions parameter is used to specify the maximum number of disconnected remote sessions.
What is the default value of this parameter?
Correct Answer:
1000
Note: This Question is unanswered, help us to find answer for this one
Which of the following statements is/are INCORRECT about the Suspend-Workflow activity in Windows PowerShell?
1. It stops the workflow permanently.
2. It stops the workflow temporarily.
3. If you do not run the workflow as job, a job object is not returned.
Correct Answer:
Only statements 1 and 3.
Note: This Question is unanswered, help us to find answer for this one
Correct Answer:
Exit-PSSession
Note: This Question is unanswered, help us to find answer for this one
Choose True or False.
In Windows PowerShell, the Get-DscResource cmdlet cannot be used to discover the resources that are installed in the PSModulePath?
Correct Answer:
False
Note: This Question is unanswered, help us to find answer for this one
Correct Answer:
Rename()
Note: This Question is unanswered, help us to find answer for this one
Which of the following statements are correct about the Restart-Computer cmdlet in Windows PowerShell?
1. Parameters of the Restart-Computer cmdlet can be used to run the restart operations as a background job.
2. Parameters of the Restart-Computer cmdlet can be used to specify the authentication levels and alternate credentials.
3. Parameters of the Restart-Computer cmdlet can be used to limit the operations that run at the same time.
Correct Answer:
All options 1, 2 and 3.
Note: This Question is unanswered, help us to find answer for this one
Which of the following tasks can be performed while enhancing the functionality of Windows PowerShell ISE?
1. We can add and modify the instance of Windows PowerShell ISE.
2. We can manipulate text buffers for the Command pane but not for the Output pane and Script pane.
3. We can perform file operations; for example, we can determine whether or not a file has been changed, after it was last saved.
Correct Answer:
Only options 1 and 3.
Note: This Question is unanswered, help us to find answer for this one
Choose True or False.
We can integrate PowerShell runtime into .NET applications.
Correct Answer:
True
Note: This Question is unanswered, help us to find answer for this one
Correct Answer:
$psISE
Note: This Question is unanswered, help us to find answer for this one
Correct Answer:
DCOM
WSMan
Note: This question has more than 1 correct answers
Note: This Question is unanswered, help us to find answer for this one
Choose True or False.
In relation to the Windows PowerShell ISE object model hierarchy, the $psISE object is the root object.
Correct Answer:
True
Note: This Question is unanswered, help us to find answer for this one
Correct Answer:
It is used to run commands on a local computer.
It is used to run commands on a remote computer.
Note: This question has more than 1 correct answers
Note: This Question is unanswered, help us to find answer for this one
Correct Answer:
-Id
-InstanceId
Note: This question has more than 1 correct answers
Note: This Question is unanswered, help us to find answer for this one
Correct Answer:
File
Note: This Question is unanswered, help us to find answer for this one
Correct Answer:
Get-PswaAuthorizationRule
Note: This Question is unanswered, help us to find answer for this one
Correct Answer:
It creates a new remote client.
Note: This Question is unanswered, help us to find answer for this one
Correct Answer:
-Mta
-ExecutionPolicy
-Sta
Note: This question has more than 1 correct answers
Note: This Question is unanswered, help us to find answer for this one
Correct Answer:
Microsoft.PowerShell.Diagnostics
Note: This Question is unanswered, help us to find answer for this one
Correct Answer:
CTRL + SHIFT + D
Note: This Question is unanswered, help us to find answer for this one
Which of the given options is the correct format of the cmdlet that will display the following message?
"WARNING: Test warning"
Correct Answer:
Write-Warning
Note: This Question is unanswered, help us to find answer for this one
Correct Answer:
F3
Note: This Question is unanswered, help us to find answer for this one
Correct Answer:
CTRL + J
Note: This Question is unanswered, help us to find answer for this one
Correct Answer:
Export-Csv
Note: This Question is unanswered, help us to find answer for this one
Correct Answer:
Binary Modules
Note: This Question is unanswered, help us to find answer for this one
Correct Answer:
Install-PswaWebApplication
Note: This Question is unanswered, help us to find answer for this one
Correct Answer:
Convert-Path
Wait-Process
Note: This question has more than 1 correct answers
Note: This Question is unanswered, help us to find answer for this one
Windows PowerShell MCQs | Topic-wise