Instead of JobTitle, try Title
--------------------------------------
If this is helpful please accept answer.
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Power Shell Command
After I sign in to power shell as admin and run my sign on info I then use this command: It works but does not give me Job Title information. The column is there in the CSV download but the data is not. Should I be using a different command?
Get-User -ResultSize Unlimited | select FirstName,LastName,JobTitle,Manager,Department,Company,HomePhone,MobilePhone,WindowsEmailAddress,StreetAddress,Office,City,PostalCode | export-csv c:\exportedcontacts.csv
Answer accepted by question author
Instead of JobTitle, try Title
--------------------------------------
If this is helpful please accept answer.
This is my entire Powershell command:
[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12
Set-ExecutionPolicy RemoteSigned
Install-Module -Name ExchangeOnlineManagement
Import-Module ExchangeOnlineManagement
Connect-exchangeonline
Then after the above finishes:
Get-User -ResultSize Unlimited | select FirstName, LastName, Title, Manager, Department, Company, Phone, MobilePhone, Office, StreetAddress, City, St, PostalCode, WindowsEmailAddress | export-csv c:\exportedcontacts.csv
Using the above the St column header does show but there is no data in the rows below it.
Dillon, got that, worked. One more question what about State. I tried State, State/province and a few more variations of that.
Regards,
Gary