Get-WinModule and Import-WinModule

The Get-WinModule command lists the modules available to the compatibility session. This may be considered similar to running Get-Module -ListAvailable.

Import-WinModule attempts to load the requested module (by name) in the compatibility session. For example, Import-WinModule Pester will attempt to load the latest version of the Pester module within the compatibility session.

The version number of the loaded module will display as 1.0 when running Get-Module in PowerShell Core this version is not derived from the source module:

It is not possible at this time to import a specific version of a module in the compatibility session.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
13.58.212.170