PowerShell is continuously evolving, that means that for some modules you don’t get an installer anymore. You have to use PowershellGet.
But how to get it? In the following table I’ve summarized the ways:
Scenario | Install instructions |
---|---|
Windows 10 Windows Server 2016 |
Included in Windows Management Framework (WMF) 5.0. This is aready shipped and ready-to-go with the Windows OS |
I want to upgrade to PowerShell 5 |
|
I am running on a version of Windows with PowerShell 3 or PowerShell 4 | Get the PackageManagement modules
|
Read the official article on docs.microsoft.com.
Now you can issue the following command to see how powerful this module is to find the module of your needs:
Get-Command -Module PowershellGet
Using a Mac or Linux? No problem. Read this article first to learn how to use PowerShell on your device.