NewCimInstanceCommand.ShouldProcess Method

 

Requests confirmation from the user before an operation is performed. The variants of this method can be used to send the name of the resource to be changed, send the name of the resource and the operation to be performed, and more. The confirmation message that is displayed to the user is based on which variant of this method is called.

Namespace:   Microsoft.Management.Infrastructure.CimCmdlets
Assembly:  Microsoft.Management.Infrastructure.CimCmdlets (in Microsoft.Management.Infrastructure.CimCmdlets.dll)

Overload List

Name Description
System_CAPS_pubmethod ShouldProcess(String)

(Inherited from Cmdlet.)

System_CAPS_pubmethod ShouldProcess(String, String)

(Inherited from Cmdlet.)

System_CAPS_pubmethod ShouldProcess(String, String, String)

(Inherited from Cmdlet.)

System_CAPS_pubmethod ShouldProcess(String, String, String, ShouldProcessReason)

(Inherited from Cmdlet.)

See Also

NewCimInstanceCommand Class
Microsoft.Management.Infrastructure.CimCmdlets Namespace

Return to top