Update the PowerShellGet Module by running the following command: Install-Module PowerShellGet -Force -AllowClobber.After the reboot, verify that you are running PowerShell 5.1 by running the following command: (Get-Host).Version.You will be required to reboot your machine! Run the installers that have the label that is specific to the operating system version that you are running.Download and install the Windows Management Framework 5.1 on the target machine from Microsoft:. Note that you must be running Windows 7 SP1, Server 2008 R2, or a later version of Windows in order to install this module update! Windows Server 2016 & 2019 should already be running 5.1.įollow the below steps to update PowerShell on your machine: If you have a supported version, skip to Step 2 below. If you have an unsupported version of PowerShell on your machine, you will need to update it to version 5.1. Step 1: Updating the PowerShell Version of your Host & Installing the latest PowerShellGet Module
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |