upgrade powershell cmdlets code example Example: How to get the latest powershell update Install-Module -Name PowerShellGet -Force Exit