Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

WMI - access denied on LIKE search

Status
Not open for further replies.

haddaway

Programmer
Jul 6, 2005
172
SE
Any idea why I get Access denied when using:

TargetInstance.Message LIKE '%anymessage%'"

but it works when I use:

TargetInstance.Message = 'anymessage'"

I am trying to access 'Win32_NTLogEvent'.

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top