Last active
February 4, 2024 23:09
-
-
Save contactbrenton/1e0aa85145b1c0d102296bf756c3b89e to your computer and use it in GitHub Desktop.
Install-HPCMSL.ps1
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Set-ExecutionPolicy -Scope Process -ExecutionPolicy Unrestricted | |
Install-PackageProvider -Name NuGet -MinimumVersion 2.8.5.201 -Force | |
Start-Sleep -Seconds 60 | |
Install-Module -Name PowerShellGet -Force | |
Install-Module -Name HPCMSL -SkipPublisherCheck -AcceptLicense -Force | |
Import-Module -Name HPCMSL | |
Write-Host "HP Client Management Script Library installation complete." |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
An old version of PowerShellGet can cause issues here. This is installed by default and doesn't get removed when you upgrade. https://gist.github.com/contactbrenton/1ae6c2a6a658725b50fb8f50a45b7475