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

Getting AD site via command line is slow and error prone #27

Open
Borgquite opened this issue Apr 16, 2024 · 0 comments · May be fixed by #28
Open

Getting AD site via command line is slow and error prone #27

Borgquite opened this issue Apr 16, 2024 · 0 comments · May be fixed by #28

Comments

@Borgquite
Copy link
Contributor

Currently EnableAzureArc.ps1 shells out to nltest.exe to get the current Active Directory site of the computer.

This is quite slow and doesn't allow the use of normal PowerShell error handling.

I've submitted a PR to use the ADSystemInfo COM object - faster, allows normal error handling

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