Quantcast
Channel: PowerShell.com – PowerShell Scripts, Tips, Forums, and Resources
Viewing all articles
Browse latest Browse all 6937

win32_product not returning anything

$
0
0

Hi!

Just started to learn powershell and I think I'm loving it :-)

 

Anyways, trying to make a script to determine what roles are installed on a server. And if the roles are missing then install them.

I've tried get-wmi0bject -class win32_product
but that returns no output whatsoever.

Please advice.

 

 


Viewing all articles
Browse latest Browse all 6937

Trending Articles