Fix bug in HelpGeneration script that is failing the on-demand build, add checks that will prevent infinite looping within a file
Fix bug in HelpGeneration script that is failing the on-demand build, add checks that will prevent infinite looping within a file

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