Skip to content

Error updating HPCMSL from 1.6.3 to 1.6.4 #14

@woodyinwoodley

Description

@woodyinwoodley

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
![ss](https://user-images.githubusercontent.com/6294052/154096516-be14aa28-2b3c-4bd8-a7f2-c833169e0a83.png)
>
**Failed to import the HPCMSL module**
**Exception Message: Cannot add type. The type name 'SureAdminSetting' already exists.**

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions