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\184.108.40.206\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
You might be able to use the Export-Module and the Import-Module cmdlets.
The problem is not importing the module any longer as I managed to copy it manually to that server after downloading the source. The new problem is ;as Kevin mentioned; some cmdlets need internet access for whatever reason.
Thanks for response though!
We have the same issue on servers that don't have internet access (all of them)