Reputation: 1121
I am develop wmi application to get windows logs by using WQL query. How to use CONCAT() method in that query.
Input WQL Query :
wmic -U XXX%XXX //XXX "Select CONCAT(Category, '|DHCP') from Win32_NTLogEvent where TimeWritten > '06/04/2014 13:59:00' and Logfile = 'Security'"
Output :
[wmi/wmic.c:212:main()] ERROR: Retrieve result data.
NTSTATUS: NT code 0x80041017 - NT code 0x80041017
Without using CONCAT() method, it will work perfectly. if any other way to get value using CONCAT() method in WQL.
Notes: When i using CONCAT() method in different scenario, it is not working. it will throw error code.
Please Help me Guys.
Thanks in Advance.
Upvotes: 0
Views: 1230