PowerShell.AddParameter Method

Adds a parameter to the last command of the pipeline. This method is introduced in Windows PowerShell 2.0.

NameDescription
PowerShell.AddParameter (String)Adds a switch parameter to the last command added to the pipeline. This method is introduced in Windows PowerShell 2.0.
PowerShell.AddParameter (String, Object)Adds a parameter and value to the last command added to the pipeline. This method is introduced in Windows PowerShell 2.0.

Send comments about this topic to Microsoft.
Show:
© 2014 Microsoft