PowerShell Core for Linux Administrators Cookbook
上QQ阅读APP看书,第一时间看更新

There's more…

Try installing the module in portable mode, by first saving the module using Save-Module and then calling Import-Module with the path to the module file as the parameter.

You can also get the list of directories from which PowerShell discovers modules. At the prompt, type the following and press the Enter key:

PS> $env:PSModulePath