Forum Discussion
Install-Module -Name MicrosoftPowerBIMgmt error
Hi,
powershell 5.1 version
getting an error below when try install Install-Module -Name MicrosoftPowerBIMgmt.
If try
> GET-PSRepository
WARNING: Unable to find module repositories.
How can we resolve.
Machine not connected to internet thus not sure if we need to do something different to get this installed and what?
When installs does it connect to internet to download?
Thanks
8 Replies
- poPost Prodigy
Hi,
Get message below when attempting to run second line.
PS > Set-PSRepository -Name "PSGallery" -InstallationPolicy Trusted
Set-PSRepository : No repository with the name 'PSGallery' was found.
At line:1 char:1
+ Set-PSRepository -Name "PSGallery" -InstallationPolicy Trusted
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : InvalidOperation: (PSGallery:String) [Set-PSRepository], InvalidOperationException
+ FullyQualifiedErrorId : RepositoryNotFound,Set-PSRepository- AngelResolver III