It fails to find the MMA directory which exists in the correct path as anticipated, maybe its unable to get the version number folder name?
After modifying Line 364 to the full path it works fine
i.e. cd "C:\Program Files\Microsoft Monitoring Agent\Agent\AzureAutomation\7.3.837.0\HybridRegistration"
It fails to find the MMA directory which exists in the correct path as anticipated, maybe its unable to get the version number folder name?
After modifying Line 364 to the full path it works fine i.e. cd "C:\Program Files\Microsoft Monitoring Agent\Agent\AzureAutomation\7.3.837.0\HybridRegistration"