20).Open source of PowerShell version is available from the year _______.
Answer:
2002
2010
2016
2006
21).Command to find the PowerShell Version is _____________.
Answer:
$PSVersion
$PowerShell Version
PSVersiontable
$PSVersiontable
22).ISE is available from _______.
Answer:
PowerShell 1.0
PowerShell 2.0
PowerShell 3.0
PowerShell 4.0
23).Package management module is available in ________.
Answer:
PowerShell 2.0
PowerShell 4.0
PowerShell 5.0
PowerShell 3.0
24).Command to display process name and ID of all process is get-process ______.
Answer:
Select-Object process name, ID
Both Select-Object and FT can be used
FT Process name, ID
None of mentioned
Answers
1) 2016 , 2) $PS version, 3) powershell2.0 , 4) powershell5.0 ,5) I think there is a none of mentioned.
Answer:
The answer to the given questions are:
20) 2016 21) $PS version
22) powershell2.0
23) powershell5.0
24) none of mentioned.
Explanation:
There are various PowerShell editions that each use a different.NET runtime as of PowerShell 5.1. There are two editions of PowerShell as of version 6.0:
run on the desktop using the.NET Framework. For full-featured Windows versions like Windows Desktop, Windows Server, Windows Server Core, and most other Windows operating systems, PowerShell 4 and earlier, as well as PowerShell 5.1, are accessible. This is the original PowerShell edition and is a part of the operating system's basic installation.
It is powered by.NET Core. On full-featured Windows editions, some reduced-footprint Windows editions like Windows Nano Server and Windows IoT, or on non-Windows platforms like Linux and macOS, PowerShell 6. 0 and later can be installed side-by-side with prior PowerShell releases.
#SPJ2