Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends September 15. Request your voucher.

Reply
po
Post Prodigy
Post Prodigy

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

 

 

 

 

 

 

powershell_install_error.JPG

4 REPLIES 4
lbendlin
Super User
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

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?

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.

Thanks for update.

 

Is there any danger to any other processses with upgrading powershell?

 

New to powershell.

 

don't want to indavertently affect windows or some other functionality negatively.

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

Check out the August 2025 Power BI update to learn about new features.

August 2025 community update carousel

Fabric Community Update - August 2025

Find out what's new and trending in the Fabric community.