Powershell – Parameter Attribute

Powershell Cmdlet, Function을 이용 하다 보면 명령 뒤의 Parameter를 필수 적으로 입력을 요구 할 때가 있다. 또 명령어 뒤에 -[parameter명] 을 붙히지 않고 공백으로 구분하여 입력 하면 자동으로 순서대로 Parameter를 인식 하는데 이런 동작들은 Cmdlet, Function 내부에 진입 하기 전에 Parameter Attribute 에 의해서 조절 된다. 즉 꼭 필요로 하는 Parameter를 Cmdlet 안에서 $null 체크를…

Read More
https://www.mominleggings.com/b0n5rv3o5kn https://musiciselementary.com/2024/03/07/z0esd96gap