Disabling Common Parameters - by Luke Foley

Status : 


Sign in
to vote
ID 808780 Comments
Status Active Workarounds
Type Suggestion Repros 0
Opened 11/17/2013 3:07:06 AM
Access Restriction Public


It would be nice if there was a way to disable the Common Parameters when creating a Cmdlet in C#.

In my example, I have a number of custom cmdlets written in C# with the base class set as PSCmdlet, but when the Cmdlet is compiled, I am forced to have the common parameters as part of this cmdlet. I have a need to remove these common parameters.
Sign in to post a comment.