Thursday, 22 December 2022

[CmdletBinding()]

 


If you add CmdletBinding parameter only then you will have all the below options available

  • Name
  • Verbose
  • Debug
  • ErrorAction
If you add only param $name without CmdletBinding then you will have only Name showing as an option



No comments:

Post a Comment