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

Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM. Register now.

Reply
Anonymous
Not applicable

powershell makes no sense

Why it doesnt find it? Right after installing it... What am I doing wrong?????

ovonel_0-1716466257457.png

 

1 ACCEPTED SOLUTION

@Anonymous Check your PSModulePath environment variable, should be something like this:

PSModulePath=C:\Program Files\WindowsPowerShell\Modules;C:\WINDOWS\system32\WindowsPowerShell\v1.0\Modules;C:\Program Files (x86)\Microsoft SQL Server\150\Tools\PowerShell\Modules\



Follow on LinkedIn
@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
DAX For Humans

DAX is easy, CALCULATE makes DAX hard...

View solution in original post

6 REPLIES 6
Anonymous
Not applicable

It still doesnt work... what is going on here?

ovonel_0-1716537000316.png

 

@Anonymous Check your PSModulePath environment variable, should be something like this:

PSModulePath=C:\Program Files\WindowsPowerShell\Modules;C:\WINDOWS\system32\WindowsPowerShell\v1.0\Modules;C:\Program Files (x86)\Microsoft SQL Server\150\Tools\PowerShell\Modules\



Follow on LinkedIn
@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
DAX For Humans

DAX is easy, CALCULATE makes DAX hard...
Anonymous
Not applicable

Why is this so so so so so convoluted; it makes no sense!

 

The crazy part is that I see no error, why is Powershell pretending to install it and silently failing??

Thanks for your answer @Greg_Deckler 


I ran $env:PSModulePath

And I get as result:
C:\Users\mari\OneDrive\Documents\WindowsPowerShell\Modules;C:\Program Files\WindowsPowerShell\Modules;C:\WINDOWS\system32\WindowsPowerShell\v1.0\Modules;C:\Program Files (x86)\Microsoft SQL Server\150\Tools\PowerShell\Modules\;C:\Program Files (x86)\Microsoft Azure Information Protection\Powershell

 


These are 5 paths. crazy! why?!?!

 

C:\Users\mari\OneDrive\Documents\WindowsPowerShell\Modules
this path doesnt exist. Should I create it?

 

C:\Program Files\WindowsPowerShell\Modules
I see 5 modules installed hre


C:\WINDOWS\system32\WindowsPowerShell\v1.0\Modules
This seems to be the right one, I see 75 modules, which are the ones I see on my right side in Windows Powershell ISE

 

C:\Program Files (x86)\Microsoft SQL Server\150\Tools\PowerShell\Modules\
I see 1 module here

 

C:\Program Files (x86)\Microsoft Azure Information Protection\Powershell
I see 1 module here

Anonymous
Not applicable

@Greg_Deckler Thanks for your contribution on this thread.

Hi @Anonymous ,

Have you been able to resolve the problem you were facing? If not, I would recommend verifying whether the relevant modules are present in the directory: C:\Program Files\WindowsPowerShell\Modules. If you’re unable to locate them, consider obtaining the modules from a colleague who has successfully installed them. You can then copy these modules into your module folder directory. Following this, please check if you’re able to update the module successfully.

vyiruanmsft_0-1716963843167.png

Best Regards

Anonymous
Not applicable

I would love to copy paste the folders but I dont have anyone to ask for it! I tried downloading it manually but I get a .nupkg file

Greg_Deckler
Community Champion
Community Champion

@Anonymous I may be mistaken, but I don't believe you can use that module for 32-bit, you need to run 64-bit.



Follow on LinkedIn
@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
DAX For Humans

DAX is easy, CALCULATE makes DAX hard...

Helpful resources

Announcements
October Power BI Update Carousel

Power BI Monthly Update - October 2025

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

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.