Quantcast
Channel: PowerShell.com – PowerShell Scripts, Tips, Forums, and Resources: Active Threads
Viewing all articles
Browse latest Browse all 8411

How to add Details to First name & Last Name using CSV file.

$
0
0

Hello Everyone,

We have 250 users in Accounts OU & Sales OU. At the time of creating of users we didn't add to many details. Now we have been told to add details regarding Department, Description, Displayname, First Name, Last Name.

I was able to add Department, Description & Displayname using this Command.

Get-QADUser -Identity "win2k8.local/accounts ou" | Set-QADUser -Department "Accounts" -Description "Accounts Users"

Get-QADUser -Identity "win2k8.local/accounts ou" | Foreach-object {Set-QADUser $_ -Displayname($_.name)

I have been trying to add First Name & Last Name in powershell using CSV file but no success.

Can Anyone please tell me which command should i use. 

Thanks in Advance.


Viewing all articles
Browse latest Browse all 8411

Latest Images

Trending Articles



Latest Images