Quantcast
Viewing all articles
Browse latest Browse all 8719

exporting Exchange User Details (get command)

Hi,

Which 'get' command I can use to export all Exchange AD user details like; Name,DisplayName,OrganizationalUnit,RecipientType,Title,Department,Office,Company,City,Manager

which should be exported to a CSV file (to use it with another HR application)

worth to mention: I need the report in CSV format itself for some reason.

[I have triedget-mailboxand get-mailboxstatistics  but doesn’t give all required fields.

Then I triedget-user  but it gives only one column with some unique ID ]

I have used the following get-user cmnd;

Get-User -resultsize unlimited |FT Name,DisplayName,OrganizationalUnit,RecipientType,WindowsEmailAddress,Title,Department,Office,Company,city | Export-csv D:\userdetails.csv

Please suggest




Viewing all articles
Browse latest Browse all 8719

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>