Skip to content

Instantly share code, notes, and snippets.

@win2000b
Created September 23, 2016 14:10
Show Gist options
  • Select an option

  • Save win2000b/1e647e30c6948ad3e6f8cecca729f124 to your computer and use it in GitHub Desktop.

Select an option

Save win2000b/1e647e30c6948ad3e6f8cecca729f124 to your computer and use it in GitHub Desktop.
Export AD Users and Proxy Addresses
Get-ADUser -Filter * -Properties proxyaddresses | Select-Object Name, @{L = "ProxyAddresses"; E = { $_.ProxyAddresses -join ";"}} | Export-Csv -Path c:\temp\proxyaddresses.csv -NoTypeInformation
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment