Advanced Automated Administration with Windows PowerShell 4.0 Quiz Questions and Answers

You need help with the Get-Service command. Choose a command that will do that.

Answer :
  • help get-service

Explanation :

Need to take help for get-server so help is alias for get-help

Remoting uses an open standard protocol called_______.

Answer :
  • WS-MAN

What is Powershell Scripting?

Answer :
  • All of these

What are two ways of extending a Powershell?

Answer :
  • Both A and B

What are the types of brackets used in PowerShell?

Answer :
  • A) Parenthesis Brackets ()
    B) Braces Brackets {}
    C) Square Brackets []
    All of the above

What are the ways to find all the SQL services on one server in PowerShell?

Answer :
  • Both A and B

What character specifies a variable?

Answer :
  • $

How can you display all the options for a specific command using Powershell?

Answer :
  • By typing "help *command* "

What command(s) alias clears the console?

Answer :
  • clear

How do you declare a type of variable when declaring a variable?

Answer :
  • With square brackets surrounding the type of variable before the declaration (ie. "[integer] $variable "