Skip to content

Instantly share code, notes, and snippets.

@shaneis
Created September 21, 2018 15:51
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 shaneis/1e3e842ea0a65d21c010e41f2aa47a26 to your computer and use it in GitHub Desktop.
Save shaneis/1e3e842ea0a65d21c010e41f2aa47a26 to your computer and use it in GitHub Desktop.
function ConvertTo-Parameters {
$Path = (Read-Host -Prompt 'Enter the location of the folder')
$Number = (Read-Host -Prompt 'Enter a number from 1 to 10')
$Set = (Read-Host -Prompt 'Choose a set of Set1, Set2, or Set3')
Test-Parameters -Path $Path -Number $Number -Set $Set
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment