First up, thanks for the script, it's been really useful. However, today got an error. It is likely mostly cosmetic, but it'd be nice to fix in any case...
PS C:\Users\pwoodward\gitrepos\Intune> .\Scripts\install-hpcmsl.ps1
Log path set to C:\ProgramData\WWF-UK\logs\Install-HPCMSL.log
Failed to import the HPCMSL module
At C:\Users\pwoodward\gitrepos\Intune\Scripts\install-hpcmsl.ps1:100 char:5
+ throw $ErrorMessage
+ ~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : OperationStopped: (Failed to import the HPCMSL module:String) [], RuntimeException
+ FullyQualifiedErrorId : Failed to import the HPCMSL module
PS C:\Users\pwoodward\gitrepos\Intune

>
**Failed to import the HPCMSL module**
**Exception Message: Cannot add type. The type name 'SureAdminSetting' already exists.**
First up, thanks for the script, it's been really useful. However, today got an error. It is likely mostly cosmetic, but it'd be nice to fix in any case...