(. dotnet tool list -g) | select -skip 2 | select-string -pattern "^([^\s]+)" | % { $_.matches.groups[1].value} | % { . dotnet tool update $_ -g}
Upgrade all DOTNET TOOLs at once with PowerShell
Reply
(. dotnet tool list -g) | select -skip 2 | select-string -pattern "^([^\s]+)" | % { $_.matches.groups[1].value} | % { . dotnet tool update $_ -g}