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 users

thanks



get-aduser -filter * -properties thumbnailphoto | {$_.thumbnailphoto} | foreach {$_.thumbnailphoto | set-content -path "c:\$($_.userprincipalname).jpg" -encoding byte} 



Windows Server  >  Windows PowerShell



Comments

Popular posts from this blog

Error: 0x80073701 when trying to add Print Services Role in Windows 2012 Standard

difference between wuauclt1.exe and wuauclt.exe

Windows 2016 RDS event 1306 Connection Broker Client failed to redirect the user... Error: NULL