I am trying to install PWPS_DAB on one of our servers but I receive below error which I assume it is due to policies to block any sites. Is there a way to download pwps_dab and install it without dierect access to online resources?
Thanks in advance,
PS C:\Windows\system32> Install-Module pwps_dab -force
WARNING: Unable to download from URI 'go.microsoft.com/.../ to ''.
WARNING: Unable to download the list of available providers. Check your internet connection.
PackageManagement\Install-PackageProvider : No match was found for the specified search criteria for the provider 'NuGet'. The package provider requires
'PackageManagement' and 'Provider' tags. Please check if the specified package has the tags.
At C:\Program Files\WindowsPowerShell\Modules\PowerShellGet\220.127.116.11\PSModule.psm1:7405 char:21
+ ... $null = PackageManagement\Install-PackageProvider -Name $script:N ...
+ CategoryInfo : InvalidArgument: (Microsoft.Power...PackageProvider:InstallPackageProvider) [Install-PackageProvider], Exception
+ FullyQualifiedErrorId : NoMatchFoundForProvider,Microsoft.PowerShell.PackageManagement.Cmdlets.InstallPackageProvider
Use manual download option on the powershell gallery page:
then follow directions here:
Answer Verified By: Elahe Burns
Hmmm, if I remember right I think Dave mentioned they added some analytics to pwps_dab, that may require internet access. So you might still have problems after the install.
you might be better off running your scripts from a machine other than that Server. I use a virtual machine separate from all my actual servers to run powershell.
We have decided to follow up on the internet connection of that server.
WARNING: Response: Error: Unable to connect to the remote server at System.Net.WebClient.UploadDataInternal(Uri address, String method, Byte data, WebRequest& request) at System.Net.WebClient.UploadData(Uri address, String method, Byte data) at PWPS_DAB.NewPWInputOutputPerformanceReport.RunFileIOTests(Boolean bNoCleanup)
Brian Flaherty or Dave Brumbaugh will need to help out here. Not sure if there is a registry hack or something that can disable the analytics.