Had a talk with a colleague about whether to use IsPresent or PSBoundParameters to validate if a Switch or Parameter was used in a Script or Function. In this blog, I will explain what they do and how you can use both.
#PowerShell #Validating
powershellisfun.com/2026/05/29/u...
Had a talk with a colleague about whether to use IsPresent or PSBoundParameters to validate if a Switch or Parameter was used in a Script or Function. In this blog, I will explain what they do and …