fbpx

PowerShell Training: Switch Parameter Validation

Estimated Reading Time: 6 minutesSummary There are many ways to validate the presence of a [switch] parameter within a PowerShell script or function, but some are definitely better. This post provides a PowerShell function that demonstrates the results of various...