PowerShell cmdlets, the object pipeline, variables, providers, functions, execution policy and common administration commands.
40 cards · basic cards · AI-written, checked twice. Edit anything.
- What character allows cmdlet output to pass to another cmdlet?
Show answer
| (pipe character)
- Which cmdlet lists files and directories in the current location?
Show answer
Get-ChildItem
- What does Get-Process display?
Show answer
All running processes on the system
- Which cmdlet reads and displays file contents?
Show answer
Get-Content
- What is the purpose of Set-Location?
Show answer
To change the current working directory
- Which cmdlet displays available Windows services?
Show answer
Get-Service
- What does Start-Service accomplish?
Show answer
Starts a stopped Windows service
- Name the cmdlet that stops a running service.
Show answer
Stop-Service
- What symbol prefixes a variable name in PowerShell?
Show answer
$ (dollar sign)
- What does $PSHome refer to?
Show answer
The directory where PowerShell is installed
- What information does $PROFILE provide?
Show answer
The path to the user's PowerShell profile script
- Name the three primary variable scopes in PowerShell.
Show answer
Global, Script, Local
- Define a PowerShell provider.
Show answer
An interface that provides access to different data stores
- Which provider abstracts file system operations?
Show answer
FileSystem
- What provider is used to access Windows Registry data?
Show answer
Registry