Automating Administration with Windows PowerShell Quiz Questions and Answers

Latest Version of Windows Powershell is

Answer :
  • 5.1

Powershell-ISE stands for

Answer :
  • Powershell- Integrated Scripting Environment.

“Get-ADUser | Select Name,SAMAccountName” ----- Output type would be

Answer :
  • ADUser Object

Which Cmdlets is using to create new GUID

Answer :
  • New-Guid

Which of the following command is used to get child items in powershell ?

Answer :
  • Get-ChildItem

Code for creating an HTML report that lists the name of each service along with its status is :

Answer :
  • Get-Service | ConvertTo-HTML -Property Name, Status > C:\services.htm

PSPROVIDER is available by insatlling …..

Answer :
  • Module

Which Commandlet has been used to get the member list of an Object in powershell?

Answer :
  • Get-Member

PS-Remoting depends on service Called

Answer :
  • WIRM Service

List out the currently running Sessions on a computer by executing ……………….. Commands

Answer :
  • Get-PSsessions