Andre P
asked on
How can i produce a csv fie with username ,First name , Last Name , Full name and Email address from SBS 2008 ?
I know that its possible to do this with powershell but I cant run active directory module on SBS 2008 .
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Take a look at the below.
https://www.experts-exchange.com/questions/28958687/Need-help-with-an-PowerShell-command-to-extract-user-attributes.html
You don't have to run it on the server. It can be run from any PC joined to the domain.
https://www.experts-exchange.com/questions/28958687/Need-help-with-an-PowerShell-command-to-extract-user-attributes.html
You don't have to run it on the server. It can be run from any PC joined to the domain.
Sorry, forgot the mail.
Just add a new line 13 with 'mail' to the attributes retrieved.
Then in the last line, add the property to Select-Object, for example like this:
Just add a new line 13 with 'mail' to the attributes retrieved.
Then in the last line, add the property to Select-Object, for example like this:
Get-ADSIUser | Select-Object samAccountName, displayName, givenName, sn, mail | Export-Csv -NoTypeInformation -Path C:\users_list.csv
Active Directory Management Gateway Service or the Quest Powershell Tools
64-bit version: Quest ActiveRolesManagementShell
32-bit version: Quest ActiveRolesManagementShell
Installation walkthrough: http://www.powershelladmin.com/wiki/Quest_ActiveRoles_Management_Shell_Download