PowerShell common parameters are a set of cmdlet parameters that you can use with any cmdlet. They are implemented by Windows PowerShell, not by the cmdlet developer, and they are automatically available to any cmdlet.

The common parameters are:

  • Verbose
  • Debug
  • WarningAction
  • WarningVariable
  • ErrorAction
  • ErrorVariable
  • OutVariable
  • OutBuffer

The risk mitigation parameters are:

  • WhatIf
  • Confirm


about_CommonParameters A Microsoft Technet article describing these common parameters. Applies To: Windows PowerShell 3.0. Windows PowerShell version 2.0 also contains it’s own list.

This entry was posted in powershell and tagged , . Bookmark the permalink.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s