QCModulePath directory name not clearly documented
Opened this issue · 0 comments
mrbodean commented
The code $QCModulePath = "{0}\Module" -f ([Regex]::Match($ScriptRoot, ".*\\QC", "IgnoreCase")).Value
requires that the scripts be in a folder named QC for the correct module path to be identified. This should be clearly documented as a requirement or the code changed to search for the module path from the invocation path.
https://github.com/microsoft/Intune-DeviceAdmins/blob/master/QCAutomation/QC/Infra/Upgrade/Perform-InfraUpgradeQC.ps1