Powershell cmdlets Flashcards
What cmdlet lists all cmdlets and functions registered in the command shell
Get-Command
What cmdlet identifies the effective execution policy for the current PowerShell session?
Get-ExecutionPolicy
The ____ portion of a cmdlet name indicates what the cmdlet does.
Verb
What cmdlet verb retrieves a resource, such as a file or a user?
Get
What cmdlet verb changes the data associated with a resource, such as a file or user property?
Set
What cmdlet verb creates a resource, such as a file or user?
New
What cmdlet verb adds a resource to a container of multiple resources?
Add
What cmdlet verb deletes a resource from a container of multiple resources?
Remove
What is the difference between read and get?
Read verb retrieves information that a resource contains, such as a text file’s content, whereas the Get verb retrieves the actual file.
____ names begin with a dash (-).
Parameter
You can review a complete list of help topics by running
Get-Help about*
_____ retrieves information about a command, or several commands, such as the name, category, version, and even the module that contains it.
Get-Command
The _____ ______ is a central repository for Windows PowerShell–related content, including scripts and modules.
PowerShell Gallery