Quantcast
Channel: Forum Getting started with SQL Server
Viewing all articles
Browse latest Browse all 7129

WMI query problem

$
0
0

I'm trying to run the following wmi query:

select ProcessId,Name,PageFileUsage from Win32_Process where ((Name = 'sqlservr.exe' AND CommandLine LIKE '%-sMSSQLSERVER%'))

I can do this with a local admin account, but not with the non-admin account I created.  If I remover the 'CommandLine Like' part of the query it runs fine.  This account is set up to run WMI queries and pulls everything else I need so far except this query which lets me see into my SQL Server instances.

Any ideas or suggestions are appreciated. 


Viewing all articles
Browse latest Browse all 7129

Trending Articles



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