How to export the value of specific field in of a user property in active directory 2008 r2
get-aduser
-searchbase "OU=ouname,OU=ouname,DC=domainname,DC=net"
-Filter * -Properties thumbnailPhoto | FT thumbnailph
oto,UserPrincipalName
>C:\store\abc.csv