Remove Required Parameter

This topic contains 1 reply, has 2 voices, and was last updated by  Don Jones 1 week, 6 days ago.

  • Author
    Posts
  • #85271

    TommyQuality
    Participant

    Hi,
    This might be a stupid question, but anyway. I am using a cmdlet that has a required parameter, but this parameter is not actually required and by having to specify the parameter the result of the output will be totally different.

    The latest version of the cmdlet actually removes the requirement, but is there a way i can modify the existing cmdlet and remove the flag?

    Thanks

    TommyQ

  • #85276

    Don Jones
    Keymaster

    If it's a compiled cmdlet (e.g., in a DLL), then no, you can't.

You must be logged in to reply to this topic.