Hi,
Thanks for your question.
((description -notlike 'System Administrator') -or (description -notlike 'IT Manager'))
You need to replace the "-or" with "-and".
If you use "-or", it will only match one of two conditions.
Best regards,
Young Yang
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Hi All i am using the below query but still i am getting in output IT manager which i am not supposed to, experts guide me
Hi,
Thanks for your question.
((description -notlike 'System Administrator') -or (description -notlike 'IT Manager'))
You need to replace the "-or" with "-and".
If you use "-or", it will only match one of two conditions.
Best regards,
Young Yang
what the reasone for this fake discussion?
question was solved long time ago
YoungYang, is the any plans for migration Technet/MSDN topics here? Many disscussions is only one unique place where can be found solutions for odd problems
So if forum will be just turned off lots of them will be lost