I\'m trying to install pswindowsupdate.2.0.0.4.nupkg from the Powershell command line on a Win 7 computer not connected to the internet. I\'m running PS 5.1.14
pswindowsupdate.2.0.0.4.nupkg
Try this:
[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12 Install-PackageProvider NuGet -Force Set-PSRepository PSGallery -InstallationPolicy Trusted