exporting user thumbnailphoto with UPN
hi,
how export users ad thumbnailphoto userprincipalname?
thanks
http://www.damianflynn.com/2011/02/22/ad-photos/
thanks, method single user. want export thumbnailphoto jpg usersthanks
get-aduser -filter * -properties thumbnailphoto | {$_.thumbnailphoto} | foreach {$_.thumbnailphoto | set-content -path "c:\$($_.userprincipalname).jpg" -encoding byte}
Windows Server > Windows PowerShell
Comments
Post a Comment