In the following command, "-as secured string" is used to ___________.
$ password=
-host "Enter Your Password" -assecured string
To enter the password securely
PowerShell command to view all the properties of a specific Process like "Notepad"
is Get-Process notepad | Select-Object -Property *.
True
Pssession is ________.
Created, Managed and closed by a user
PowerShell module can contain _______.
cmd lets, providers,fuctions, variables that can be imported as a single unit.
To get customized output _________ cmdlet is used ____________.
Format-table
Get-Process | Sort-Object -Property Handles | Select-Object -Last 5 The output of
the above command will be the
List of 5 Processes, having higher handles values
Alias name of the Format-table is _________.
FT
To run ".PS1" files, the execution policy must be set to __________.
Remote Signed
Command to find the PowerShell Version is _____________.
$PSVersiontable
Default version of PowerShell in Windows 10 is __________.
5.0
Write-host is used to ______.
Display messages in the PowerShell console
Customize the output format
Display host data
Package management module is available in
PowerShell 5.0
Open Source Version of PowerShell contains full set of commands.
False
Get-Variable cmdlet displays the list of
Both Pre-Defined and User-Defined Variables
Which of the version of .Net Frame work is required to install PowerShell version
4?
.Net Framework 4.5
PowerShell variables are used to store _______.
Strings and Number objects
PowerShell cmdlets performs system administration tasks such as managing
______________.
All the options mentioned
If $Name="User1" then the command $[Link]() provides the information
on___________?
Both the options mentioned
PowerShell cmdlets performs system administration tasks such as managing
All
Error Action Preference specifies the desired behavior for ___________ in
PowerShell
a non-terminating error
Sort-Object cmdlet is used to _______.
Sort
Shell is _______ that is used to pass commands to the OS.
cmd inter
PowerShell for Ubuntu can be downloaded _______________.
debian
Integrated scripting environment is ______ for PowerShell.
Host application
In the command below, how will the value of the variable "$name" be set?
$ name=user1
Write-host "$name"
Value is already defined in the command
Command to display process name and ID of all process is get-process ______.
Both Select-Object and FT can be used
Open source of PowerShell version is available from the year _______.
2016
PowerShell variables are used to store _______.
Strings and Number objects
Which is an equivalent PowerShell command for "ls"?
get-childitem
Variables starts with ____
$
The command Get-Process | Where-Object{$_.ProcessName -match "^p. *"} filters the
Processes by Process name and lists the Processes which
starts with Alphabet "P"
Command to display the examples of get-service _________
All the options mentioned
PowerShell commands are case sensitive.
False
ISE is available from _______.
2.0
Which of the following are Session Specific commands?
Both Shell Function and Alias Comman
Read-Host cmdlet is used to
Prompt the value of the variable interactively
When PowerShell 2.0 is updated with PowerShell 3.0, then ___________.
PowerShell 2.0 cannot be updated with PowerS