PowerShell: Need Assistance in Querying Active Directory Attribute
Posted on 2012-08-15
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.