Created
November 17, 2015 17:54
-
-
Save jbuenting/229c8cee53ba0a1642ed to your computer and use it in GitHub Desktop.
This file contains 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
param([string]$VMNameStr) | |
# ----- split string on commas into array of names. Ignore if name length is 0 | |
($VMNameStr -split ",").Trim(' ') | where length -ne 0 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment