Q: What version of PowerShell do I need?

You will need PowerShell 5.1 or later. To check the version, open up PowerShell and type:


The result should be at least '5' under Major version and '1' under Minor version.

Q: I am getting an Out of Memory error running some functions randomly

Unfortunately this is not something that can usually be addressed in scripts. Consider increasing the memory allocated by PowerShell in general. For more information, see Learn How to Configure PowerShell Memory

Q: I can no longer change the BIOS settings, and I know my BIOS setup password is correct.

If some application attempts to change the BIOS settings with the wrong password a number of times (more than 3) the BIOS will go into lockdown mode. You will need to reboot the computer to clear the lockdown mode.

Q: How do I tell what version of a module I'm running?

First load the module, then use get-module:

PS c:\> Import-module MyModule
PS c:\> Get-Module MyModule

ModuleType Version    Name                                ExportedCommands
---------- -------    ----                                ----------------
Script    MyModule                            ...

Q: I want to install modules manually, where should I place them?

  • Install modules per user by copying them to %UserProfile%\Documents\WindowsPowerShell\Modules.
  • Install modules for all users by copying them to %ProgramFiles%\WindowsPowerShell\Modules.

Please make sure you use a well-formed directory name. In general, the module folder name (e.g. HP.Softpaq) should be directly under one of the directories listed above).

Q: How do I do a silent install of the library?

Run the installer with the /SILENT flag, which will suppress prompts while using defaults, but still show progress. If you do not want to see progress either, specify the /VERYSILENT switch instead.

To automate installation with custom options, or to see additional switches, consult the command line options documentation for InnoSetup, at http://www.jrsoftware.org/ishelp/topic_setupcmdline.htm

Q: I want to install the modules from the PowerShell Gallery, how do I do that?

Ensure that you have the latest version of NuGet. From an administrative PowerShell window type:

PS C:\> Install-PackageProvider -Name NuGet -Force

Name            Version                Source                  Summary
----            -------                ------                  -------
Nuget               https://onege...        NuGet provider for the OneGet meta-package manage

Install the latest version of PowerShellGet. From an administrative PowerShell window type:

PS C:\> Install-Module -Name PowerShellGet  -Force

It is recommended that you exit the PowerShell instance at this point, to resolve any command resolution issues.

Note that due to a bug in the way some versions of PowerShellGet versions are published, you may have to specify the -SkipPublisherCheck argument. For example:

PS C:\> Install-Module -Name PowerShellGet -SkipPublisherCheck -Force

If you encounter this issue and would like more information, please contact the PowerShell team through their Github repository, at https://github.com/PowerShell/PowerShellGet.

Next, review the license agreement on the PowerShell Gallery product page (https://www.powershellgallery.com/packages/HPCMSL) , and Install HP Client Management Script Library. From an administrative PowerShell window type:

PS C:\> Install-Module -Name HPCMSL -AcceptLicense

The PowerShell modules should download and install into the execution path.

Q: Where can I see a copy of the End User License Agreement?

You can review the license here: