Resolve review comments, add more error checks, add -AzurePowerShell switch to find and check modules
Resolve review comments, add more error checks, add -AzurePowerShell switch to find and check modules

AzureAutomationTeam/azure-powershell,devigned/azure-powershell,devigned/azure-powershell,devigned/azure-powershell,ClogenyTechnologies/azure-powershell,hungmai-msft/azure-powershell,AzureAutomationTeam/azure-powershell,naveedaz/azure-powershell,AzureAutomationTeam/azure-powershell,devigned/azure-powershell,naveedaz/azure-powershell,devigned/azure-powershell,naveedaz/azure-powershell,hungmai-msft/azure-powershell,hungmai-msft/azure-powershell,hungmai-msft/azure-powershell,AzureAutomationTeam/azure-powershell,naveedaz/azure-powershell,ClogenyTechnologies/azure-powershell,devigned/azure-powershell,AzureAutomationTeam/azure-powershell,AzureAutomationTeam/azure-powershell,naveedaz/azure-powershell,ClogenyTechnologies/azure-powershell,hungmai-msft/azure-powershell,ClogenyTechnologies/azure-powershell,ClogenyTechnologies/azure-powershell,naveedaz/azure-powershell,hungmai-msft/azure-powershell