Updated: April 27, 2016
Applies To: Windows PowerShell
Serves as a base class for attributes that specify cmdlet functionality, such as the Cmdlet and CmdletBinding attribute. This class is introduced in Windows PowerShell 2.0.
Assembly: System.Management.Automation (in System.Management.Automation.dll)
Creates a newobject. This constructor is introduced by Windows PowerShell 2.0.
Gets or sets the impact level, which is used when the user requests confirmation using the $ConfirmPreference shell variable. This property is introduced in Windows PowerShell 2.0.
Gets or sets the parameter set that is used when Windows PowerShell cannot determine the parameter set to use based on the specified parameters. This property is introduced in Windows PowerShell 2.0.
Gets or sets a HelpUri value that indicates the location of online help. This is used by Get-Help to retrieve help content when -Online is specified. Introduced in Windows PowerShell 3.0.
Gets or sets the RemotingBehavior value that declares how this cmdlet should interact with ambient remoting. Introduced in Windows PowerShell 3.0.
Gets or sets a value that indicates whether the cmdlet supports paging. Introduced in Windows PowerShell 3.0.
Gets or sets a value that indicates whether calls to the ShouldProcess method are supported. This call is used to request confirmation from the user before the operation is performed. This property is introduced in Windows PowerShell 2.0.
Gets or sets a value that indicates whether the action of the command can be accepted or rolled back within a Windows PowerShell transaction. This property is introduced in Windows PowerShell 2.0.
|_Attribute.GetIDsOfNames(Guid, IntPtr, UInt32, UInt32, IntPtr)|
|_Attribute.GetTypeInfo(UInt32, UInt32, IntPtr)|
|_Attribute.Invoke(UInt32, Guid, UInt32, Int16, IntPtr, IntPtr, IntPtr, IntPtr)|
The Cmdlet attribute is used to declare a .NET Framework class as a Windows PowerShell cmdlet class. For more information about using this attribute, see Cmdlet Attribute Declaration. The CmdletBinding attribute is used when writing Windows PowerShell advanced functions. For more information about using this attribute, see about_Functions_Advanced
Any public static ( Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.