Public/PartnerMenu/Start-PartnerMenu.ps1
function Start-PartnerMenu() { Get-PartnerMenuHeader Write-Host "[1] Select an existing tenant." Write-Host "[2] Initialize a new tenant." Write-Host "[3] Get domain name information." Write-Host "[4] Exit." Write-Host "" $SelectedOption = Read-Host "Please select an option [1-3] " switch ($SelectedOption) { "1" { Start-PartnerMenuTenantSelection } "2" { Start-PartnerMenuTenantInitilization } "3" { Start-PartnerMenuDomainInformation } "4" { exit } Default { exit } } } |