Quantcast
Channel: PowerShell.com – PowerShell Scripts, Tips, Forums, and Resources
Viewing all articles
Browse latest Browse all 8583

Home drive and looking for blanks

$
0
0

Back again, with a change of direction. Another project has befallen me. Id rather take a ring to Mordor to be honest. LDAP is useful but so unreadable so again i look to powershell.

from many thousands of users i would like to find all ad users in a certain OU without a profile path set.

Using get-QADUser -searchroot i gather all the people/items. and i see i can filter them however this seems backwards to me. would it not be better to get all users without the path rather than all users then filter. can it be done?

tried test path home drive doesnt work and -filter "" doesnt work 

Feeling woefully inadequate. Been here 6 months now i should have powershell down to an art...

or not

 


Viewing all articles
Browse latest Browse all 8583

Trending Articles