PowerShell "Install-Module" fails to install modules "Unable to find module providers (PowerShellGet)"
When using the new PowerShell 5.0 Install-Module command you may find that you have problems such as
PowerShellGet requires NuGet provider version '2.8.5.201' or newer to interact with NuGet-based repositories.
Install-PackageProvider : Unable to find repository with SourceLocation ''. Please use Get-PSRepository to see all available repositories.
This can occur when FIPS encryption is enabled on the machine, this setting can be checked by checking the local group policy settings.
System cryptography: Use FIPS 140 compliant cryptographic algorithms, including encryption, hashing and signing algorithms
PowerShellGet requires NuGet provider version '2.8.5.201' or newer to interact with NuGet-based repositories.
Install-PackageProvider : Unable to find repository with SourceLocation ''. Please use Get-PSRepository to see all available repositories.
This can occur when FIPS encryption is enabled on the machine, this setting can be checked by checking the local group policy settings.
System cryptography: Use FIPS 140 compliant cryptographic algorithms, including encryption, hashing and signing algorithms
Thank you - been fighting this one for ages
ReplyDeleteNo problems :)
DeletePlease feel free to check out our server documentation tool that documents things like the security options above.
https://www.centrel-solutions.com/xiaconfiguration/network-documentation-tool.aspx