TheJumpCloud / jumpcloud-ADMU

JumpCloud Active Directory Migration Utility - JCADMU
23 stars 7 forks source link

Replaced usage of the wmic command line utility with the equivalent … #68

Open willemkokke opened 2 years ago

willemkokke commented 2 years ago

…powershell commands.

Issues

https://github.com/TheJumpCloud/jumpcloud-ADMU/issues/67

What does this solve?

Removes the dependency on the command line wmic tool

Is there anything particularly tricky?

No

How should this be tested?

Any successful migration will fully exercise this pull-request, as it is merely an alternative way to get the system drive on a machine.

Additional Info:

I've modified ADMU.ps1.

From a cursory glance at the build system, it appears that ADMU.ps1 should be generated during the build from the input scripts, The generated executable did however not contain the fix until I applied it manually to ADMU.ps1 as well.