I'm trying to list user information from the whole site collection but lot of the properties are just blank:
Get-SPUser -Web https://sp.contoso.com/sites/test -Limit All | Select UserLogin, PreferredName, FirstName, LastName, WorkPhone, Email | Export-Csv C:\list.csv I used this article to check the required user info, but it seems like it does not work: https://technet.microsoft.com/en-us/library/hh147510.aspx
What I'm trying to get:
- Username
- Display Name
- First Name
- Last Name
- Phone number
- SharePoint group
Best Regards Artur