Hello all,
Trying to get logparser to query both an "=" and an IS NOT and I'm having a problem. Here is the base Query (which works well):
LogParser "SELECT name, userPrincipalName, userAccountControl, canonicalName INTO \\somecomputer\reports\userreport.csv FROM 'LDAP://dc.domain.blah.xyz/ou=something,ou=something,dc=something,dc=something,dc=something,dc=something' WHERE userAccountControl = 512" -i:ADS -objClass:user -o:CSV
I want to include something like "WHERE canonicalName IS NOT */*/variable/*
Any ideas?