Common parameters

suggest change

Versions

[{“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).

Feedback about page:

Feedback:
Optional: your email if you want me to get back to you:



Table Of Contents