Export (0) Print
Expand All

CommandMetadata Constructor

Name Description
CommandMetadata (CommandInfo) Creates a CommandMetadata object that contains information about the command. This constructor is introduced by Windows PowerShell 2.0.
CommandMetadata (CommandMetadata) Constructs a deep copy of another CommandMetadata object. This constructor is introduced by Windows PowerShell 2.0.
CommandMetadata (String) Creates a CommandMetadata object that contains a script file. This constructor is introduced by Windows PowerShell 2.0.
CommandMetadata (Type) Creates a CommandMetadata object that contains a cmdlet type. This constructor is introduced by Windows PowerShell 2.0.
CommandMetadata (CommandInfo, Boolean) Creates a CommandMetadata object that contains information about the command, plus an indicator that specifies whether common parameters should be added to the command. This constructor is introduced by Windows PowerShell 2.0.

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