Skip to content

Instantly share code, notes, and snippets.

@emarte91 emarte91/ScriptMenu.ps1
Last active Sep 7, 2018

Embed
What would you like to do?
Organize your scripts in a simple menu
Write-Host "Main Menu`n`nChoose an option"
$Option = Read-Host "1: Password Reset Script`n2: Exchange Email Creator`n:"
Switch($Option)
{
1 {"Opening Password script"; \\FilePathHere}
2 {"Opening Exchange script";\\FilePathHere}
default {"Incorrect option try again"; \\MainMenu.ps1 }
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.