Azure / Azure/ArcEnabledServersGroupPolicy

Getting AD site via command line is slow and error prone

Open
#27 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
PowerShell
Stars
17
Forks
25
PR merge metrics
No merged PRs in 30d

Description

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

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.