7.2 Flashcards
What is an object-oriented, interactive command environment with scripting language features?
Windows PowerShell (PS)
What cmdlet and variable do you use to obtain the current PS version?
Get-Host and $PSVersionTable
What PS cmdlet gives a complete list of aliased commands and their associated PS cmdlet?
Get-Alias
dir is an alias for what ps cmdlet?
Get-ChildItem
What is the PS cmdlet to list the available cmdlets?
Get-Command
What is the PS command to see all of the arguments for a given cmdlet?
Get-Help
What parameter will show specific examples for a cmdlet in PS?
-examples
What are small commands used within PS called?
cmdlets
What cmdlet is used to show all of the available verbs in PS?
Get-Verb
What parameter is used to state the name of an object, i.e. a user name, cmdlet name, path name?
-name
What parameter is used to state the system name or IP you want the action performed on?
-computername
What parameter is used to state the path for a directory?
-Path
What defines additional information associated with a parameter name?
Arguments
What parameter and argument is used when navigating the filesystem to specify path to traverse?
-Path C:\Windows
What parameter and argument is used with Import-Module and specifies the name of the module that you wish to import?
-Name ActiveDirectory
What defines the process of passing the results of one cmdlet as input into a second cmdlet?
Pipeline