Sunday, December 22, 2019

upgrading powershellget module

Start-Process powershell.exe -ArgumentList "-command `"& {Install-PackageProvider Nuget –Force}`""
Start-Process powershell.exe -ArgumentList "-command `"& {Install-Module –Name PowerShellGet –Force}`""
Start-Process powershell.exe -ArgumentList "-command `"& {Install-Module –Name PowerShellGet –Force}`""

Update-Module -Name PowerShellGet

get-module



get-psrepository -Name PSGallery | Set-PSRepository -InstallationPolicy Trusted
find-module universaldashboard | Install-Module -AcceptLicense
choco install dotnet4.7.2 -y