Identifies a .NET Framework class as a cmdlet, and defines the verb and noun name pair used to invoke the cmdlet.
Namespace: System.Management.Automation
Assembly: System.Management.Automation (in system.management.automation.dll)
Dim instance As CmdletAttribute
<AttributeUsageAttribute(AttributeTargets.Class)> _
Public NotInheritable Class CmdletAttribute
Inherits CmdletCommonMetadataAttribute
[AttributeUsageAttribute(AttributeTargets.Class)]
public sealed class CmdletAttribute : CmdletCommonMetadataAttribute
[AttributeUsageAttribute(AttributeTargets::Class)]
public ref class CmdletAttribute sealed : public CmdletCommonMetadataAttribute
/** @attribute AttributeUsageAttribute(AttributeTargets.Class) */
public final class CmdletAttribute extends CmdletCommonMetadataAttribute
AttributeUsageAttribute(AttributeTargets.Class)
public final class CmdletAttribute extends CmdletCommonMetadataAttribute
This attribute is used for .NET Framework classes that derive from the Cmdlet and PSCmdlet classes.
For more information about the declaration syntax used to specify the Cmdlet attribute, see >Cmdlet Attribute Declaration.
System.Object
System.Attribute
System.Management.Automation.Internal.CmdletMetadataAttribute
System.Management.Automation.CmdletCommonMetadataAttribute
System.Management.Automation.CmdletAttribute
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Development Platforms
Windows Server 2008, Windows Vista, Windows Server 2003, Windows XP, Windows 7, Windows 2008 R2 Target Platforms
Windows Server 2008, Windows Server 2003, Windows Vista, Windows XP, Windows 7, Windows 2008 R2