cmdletBinding attribute uses PowerShell cmdLet rather than script parameter binding. That is, the $psCmdLet automatic variable is used rather than $args. System.Management.Automation.CmdletBindingAttribute derives from System.Management.Automation.CmdletCommonMetadataAttribute which derives from System.Management.Automation.Internal.CmdletMetadataAttribute which derives from System.Attribute. CmdletBinding property of the FunctionInfo class reveals if the corresponding function was defined with the CmdletBinding attribute. ConfirmImpact | |
DefaultParameterSetName | Specifies the name for the default parameter set (see Param(Parameter(ParameterSetName=…))) |
HelpUri | |
PositionalBinding | |
RemotingCapability | |
SupportsPaging | |
SupportsShouldProcess | |
SupportsTransactions |
PositionalBinding property are inherited from the CmdletCommonMetadataAttribute class. cmdletBinding attribute. cmdletBinding attribute on the PowerShell automatic variable $psCmdLet.