Skip to content

Instantly share code, notes, and snippets.

@IISResetMe
Created November 12, 2015 23:47
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save IISResetMe/907ea447a65bf698fe92 to your computer and use it in GitHub Desktop.
Save IISResetMe/907ea447a65bf698fe92 to your computer and use it in GitHub Desktop.
2015 Scripting games puzzle, November
param([string]$VMNameStr)
# Trim whitepsace on input string,
# then split at commas (surrounded by 0 or more whitespace chars on each side)
$VMNameStr.Trim() -split "\s*,\s*"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment