CmdletAttribute Constructor (String, String)
Updated: April 27, 2016
Applies To: Windows PowerShell
Creates a new CmdletAttribute object that contains the verb and noun name pair used to invoke the cmdlet.
Assembly: System.Management.Automation (in System.Management.Automation.dll)
The name that describes the action performed by the cmdlet. Windows PowerShell strongly recommends that cmdlets use only the verb names specified by the action name enumerations, for example [Cmdlet(VerbsCommon.Get, "Noun")]. For more information about the standard verb names, see Approved Verbs for Windows PowerShell Commands.
A name that describes the entity on which the cmdlet performs its action.
The parameters defined by this constructor are required when specifying the attribute within the cmdlet.
For more information about the guidelines for verb names, see Cmdlet Verb Names.