Forum Discussion
powershell for inventory of workspaces/reports
Hi,
Looking to get and inventory of workspaces and the reprts within them and had been looking at powersheel for this.
However, when try install powershell on my desktop get message below
documentation says need powershell 3 or above and 4.7 have ps 4 and .net 4.8 so shoudl be o.k.
How can we resolve this and
https://docs.microsoft.com/en-us/powershell/power-bi/overview?view=powerbi-ps
4 Replies
- lbendlin
Super User
what worked for me is to allow PSGallery, and to specify -Scope CurrentUser for the cmdlet installation
Install-Module -Name MicrosoftPowerBIMgmt -Scope CurrentUser
- po
Post Prodigy
Thanks for suggestion - still same error message when tried.
Interstingly tried on another computer what had doen originally and was o.k. with powershell 5.
could questions - according to document should work with powershell 4 and is there any impact on anything lese if upgrade from powershell 4 to 5?
- lbendlin
Super User
Powershell 4 ?!? What is this, 2005? 😉 The new modules require Powershell 6, and v7 just came out. Upgrade to at least v6 if you can.