Export List of Users from AD and all Proxy Addresses

If you need a list of users and their respective proxy addresses then the command below will do thisĀ 🙂

 

Get-ADUser Filter * Properties proxyaddresses | Select-Object Name, @{L = “ProxyAddresses”; E = { $_.ProxyAddresses -join “;”}} | Export-Csv Path c:\temp\proxyaddresses.csv NoTypeInformation