Quantcast
Channel: Windows PowerShell forum
Viewing all articles
Browse latest Browse all 21975

Remote query -Class Win32_Service does not show all services when executed by normal domain user

$
0
0

when I run the following WMI query on powershell using a domain admin user:

gwmi -query "select * from win32_service where name like 'ReportServer%' and started = 1" -computername VM-SRV-01

I got the following result:

but if you run the same using normal domain user I get nothing:

Actually when I run the following command with admin user:

Get-WmiObject -class Win32_Service

I get more services than when I run the same command with a normal domain user, and ReportServer is one of those services that appear just with admin users and disappear with normal user.

what permissions should I give SQLSrvInventoryUsr (a normal domain user) to be able to get all the services when executing the mentioned WMI queries? 




Viewing all articles
Browse latest Browse all 21975

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>