filmov
tv
How To Add Your $PSModulePath In PowerShell Core

Показать описание
Matt believes that to make yourself comfortable in PowerShell Core, you might need to bring some of the modern comforts of Windows PowerShell. The good news is that there is already a module available that will bring many of the modules from Windows PowerShell into PowerShell Core.
So for this snip, Matt shows you how to use WindowsPSModulePath, a module he got from the PowerShell Gallery, to bring all of the modules from Windows PowerShell into his PowerShell Core session. Don't forget to take some time afterwards to compare your command count! Or even to test out some of your Windows modules in PowerShell Core.