Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Line 364: Incorrect path to MMA folder #75

Open
AKonCloud opened this issue Jan 26, 2021 · 1 comment
Open

Line 364: Incorrect path to MMA folder #75

AKonCloud opened this issue Jan 26, 2021 · 1 comment

Comments

@AKonCloud
Copy link

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"

@AKonCloud
Copy link
Author

AKonCloud commented Jan 26, 2021

I think on Line 366 it should be
cd ".\$version\HybridRegistration"

instead of
cd "$version\HybridRegistration"

And Line 364 resolves to Program Files (x86) for some reason instead of just Program Files

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant