March 2008
S M T W T F S
« Feb   Apr »
 1
2345678
9101112131415
16171819202122
23242526272829
3031  

Thomas' Photography

Spain - GranadaStephen at ZooCemeteriesTurkey - IstanbulAquariumFrench QuarterFamily - Mi FamiliaPatel ChristeningOrlandoFeatured PhotographySpainKidsSpain - BarcelonaMardi GrasJamie

PowerShell – Find users with no managers

This is one of those “Clean up AD” projects. We needed to find all the user accounts that don’t have managers assigned to them along with other contact information. It’s not hard but I like to have it available to see whenever I need it…

get-qaduser -ObjectAttribute @{manager=”"} -sizelimit 0 | sort| ft name,phone,email

Leave a Reply

 

 

 

You can use these HTML tags

<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>