DrivelFree
asked on
PowerShell: Need Assistance in Querying Active Directory Attribute
Windows Server 2008 R2
Lync Server 2010
Hey Experts, I'm hoping you can help me out. I attempted to compile a short script to query a specific attribute in all AD user objects within a designated Lync Server OU. I simply want to query the thumbnailPhoto attribute in each of these user objects and if possible, parse the data to CSV file, but only from the accounts that have an existing thumbnail.
Based on information I found, I attempted to accomplish this by using a Get-QADuser cmdlet, however, when I executed the command, PowerShell did not recognize the cmdlet.
Any help would be appreciated.
Lync Server 2010
Hey Experts, I'm hoping you can help me out. I attempted to compile a short script to query a specific attribute in all AD user objects within a designated Lync Server OU. I simply want to query the thumbnailPhoto attribute in each of these user objects and if possible, parse the data to CSV file, but only from the accounts that have an existing thumbnail.
Based on information I found, I attempted to accomplish this by using a Get-QADuser cmdlet, however, when I executed the command, PowerShell did not recognize the cmdlet.
Any help would be appreciated.
ASKER
Thanks for the quick response, Mike. Unfortunately, I'm in a secured facility on a production server and can't download any third party applications.
There has to be a way to accomplish utlizing the AD module through PowerShell.
There has to be a way to accomplish utlizing the AD module through PowerShell.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
http://www.quest.com/powershell/activeroles-server.aspx
Here is an example I helped with using adfind (looking for thumbnailphoto)
https://www.experts-exchange.com/questions/27300340/Get-a-list-of-all-users-who-don't-have-an-AD-photo.html
Thanks
Mike