Common parameters
suggest changeVersions
[{“Name”:“2.0”,“GroupName”:null},{“Name”:“3.0”,“GroupName”:null},{“Name”:“4.0”,“GroupName”:null},{“Name”:“5.0”,“GroupName”:null}]
Remarks
Common parameters are available on cmdlets, and on advanced functions that use [CmdletBinding()].
The alias is in parentheses after the parameter:
-Debug (db)
-ErrorAction (ea)
-ErrorVariable (ev)
-InformationAction (ia) # introduced in Windows PowerShell 5.0
-InformationVariable (iv) # introduced in Windows PowerShell 5.0
-OutVariable (ov)
-OutBuffer (ob)
-PipelineVariable (pv) # introduced in Windows PowerShell 4.0
-Verbose (vb)
-WarningAction (wa)
-WarningVariable (wv)
-WhatIf (wi) and -Confirm (cf) are listed with the common parameters, but a command has them only when it supports ShouldProcess ([CmdletBinding(SupportsShouldProcess)] on an advanced function).
Found a mistake? Have a question or improvement idea?
Let me know.
Table Of Contents