FAQ

Q: What version of powershell do I need?

You need Powershell 3.0 or later. Note that Windows 7 comes with Powershell 2.0, and will need to be updated. To check the version, open up powershell and type:

$PSVersionTable.PSVersion

The result should be at least '3' under Major 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     1.0.0.0    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