Update Powershell Command Info
winget upgrade Microsoft.PowerShell Or via the MSI/package manager:
Get-InstalledModule | Update-Module -Force Or to update a specific module: update powershell command
Update-Module -Name ModuleName -Force To update PowerShell itself (PowerShell 7+): winget upgrade Microsoft