PowerShell Common Parameters
The PowerShell engine retains a set of parameter names, referred to as common parameters. All PowerShell cmdlets, including the PowerCLI cmdlets, support them.
Some of the PowerShell common parameters are Verbose, Debug, ErrorAction, ErrorVariable, OutVariable, and OutBuffer. For a full list of the common parameters and more details on their usage, run
PowerShell offers two risk mitigation parameters: WhatIf and Confirm.
- Displays the effects of a command without running it.
- Prompts for confirmation before running a command that stops a program or service, or deletes data.