Created
January 21, 2018 18:02
-
-
Save rayterrill/60e915388f10bf0f0178dba8affee05c to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Function Test-Function { | |
| param ( | |
| [ValidateSet('test','test1')][string]$a, | |
| [ValidateSet('test','test2')][string]$b | |
| ) | |
| if ($a) { Write-Host "a was set to $($a)" } | |
| if ($b) { Write-Host "b was set to $($b)" } | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment