0% found this document useful (0 votes)
31 views3 pages

Powers Hell

Uploaded by

tushar wadile
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
31 views3 pages

Powers Hell

Uploaded by

tushar wadile
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
You are on page 1/ 3

In Linux, Powershell is a built-in tool.

False

Which of the following are Command Line Tools?


All of the above

Which of the version of .Net Frame work is required to install PowerShell version
4?
.NET Framework 4.5

Default version of PowerShell in Windows 7 is


PowerShell 2.0

Using PowerShell, we can administrate


Servers and Workstations locally & Remotely

Powershell is built on
.NET framework

---------------------------------------------------------

Ipconfig/flushdns can be used in PowerShell console.


True

Which is an equivalent PowerShell command for "cls"?


clear-host

What is the command to find total number of "FUNCTION" Commands?


(Get-Command -type function).count

PowerShell command is in ___________________ format.


Verb-Noun format

List out the PowerShell command types.


All the options mentioned

Alias commands are


External Commands

What is the command to list out the files and folders in the directory?
Get-Childitem

------------------------------------------------------------------
Function of the Pipeline is _______________.
All the options mentioned

Where-Object cmdlet is used to __________.


Filter the objects from the list

Select-Object cmdlet is used to __________.


Display the list of objects based on the selected property
Pipeline Symbol in PoweShell is _____.
"|"

Foreach-Object cmdlet is used to __________.


Perform an action on each object

Sort-Object cmdlet is used to __________.


Sort the list f the object based on the selected property

----------------------------------------------------------

Read-Host cmdlet is used to ___________


Prompt the value of the variable interactively

Write-host is used to ______.


Customize the output format -- Wrong

The command Get-Process | Where-Object{$_.ProcessName -match "^p. *"} filters the


Processes by Process name and lists the Processes which
starts with Alphabet "P"

In the command below, how will the value of the variable "$name" be set?
Value will be supplied through a script file.

Which of the following are Session Specific commands?


Both Shell Function and Alias Commands

Shell is _______ that is used to pass commands to the OS.


cmd interpreter

ISE is available from _______


PowerShell 3.0

PowerShell for Ubuntu can be downloaded _______________.


As a Debian Package

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

PowerShell module can contain _______.


cmd lets, providers,fuctions, variables that can be imported as a single unit.

PowerShell variables are used to store _______


Strings and Number objects

If $Name="User1" then the command $name.gettype() provides the information


on___________
Type of the variable value ---- Wrong

Open source of PowerShell version is available from the year _______.


2016

Default version of PowerShell in Windows 10 is __________


PowerShell 5.0
Command to display the examples of get-service ______________.
All the options mentioned

Integrated scripting environment is ______ for PowerShell


Add-on Application -- Wrong

In the following command, "-as secured string" is used to ___________.


To enter the password securely

PowerShell cmdlets performs system administration tasks such as managing


______________.
All the options mentioned

To run ".PS1" files, the execution policy must be set to __________.


Remote Signed

Command to display process name and ID of all process is get-process ______.


Select-Object process name, ID -- Wrong

PowerShell command to view all the properties of a specific Process like "Notepad"
is Get-Process notepad | Select-Object -Property *.
True

Get-Variable cmdlet displays the list of


Both Pre-Defined and User-Defined Variables

Command to find the PowerShell Version is _____________.


$PSVersiontable

Alias name of the Format-table is _________.


ft

You might also like