To return to the thread a bit late, there is even a column with a
powershell one liner on this.

http://technet.microsoft.com/en-us/magazine/cc462810.aspx

Import-CSV 'C:\provision1.csv' |
ForEach-Object {New-QADUser -organizationalUnit 'company.pri/Singers'
-name ($_.'First Name' + '.' + $_.'Last Name')
-samAccountName $_.'Logon name' -city $_.city -title $_.'Job title'
-department $_.department}



On Tue, Apr 22, 2008 at 3:38 PM, Steven Peck <[EMAIL PROTECTED]> wrote:
> I was wondering what a blag was too.
>
>  For the trendy powershell + Quest AD toolkit new-qaduser, get-content
>  and a foreac loop.
>
>  Steven Peck
>  www.blkmtn.org
>
>  On Tue, Apr 22, 2008 at 1:33 PM, Michael B. Smith
>  <[EMAIL PROTECTED]> wrote:
>
>
> > What is a blag?
>  >
>  >  The cmd.exe "for" command, along with "net user" will do it.
>  >
>  >  Regards,
>  >
>  >  Michael B. Smith
>  >  MCSE/Exchange MVP
>  >  http://TheEssentialExchange.com
>  >
>  >
>  >
>  >
>  >  -----Original Message-----
>  >  From: Oliver Marshall [mailto:[EMAIL PROTECTED]
>  >  Sent: Tuesday, April 22, 2008 3:15 PM
>  >  To: NT System Admin Issues
>  >  Subject: User Script blagging
>  >
>  >  Chaps,
>  >
>  >  I'm on the blag. Does anyone have a user creation script that will
>  >  create users from a text file (in the form firstname,lastname) and
>  >  assign the user the basic params (profile path, username, password etc)
>  >  ?
>  >
>  >  I've got one that does the basics but I need to make it add users from a
>  >  text file.
>  >
>  >  Olly
>  >
>  >  ~ Upgrade to Next Generation Antispam/Antivirus with Ninja!    ~
>  >  ~ <http://www.sunbelt-software.com/SunbeltMessagingNinja.cfm>  ~
>  >
>  >
>  >  ~ Upgrade to Next Generation Antispam/Antivirus with Ninja!    ~
>  >  ~ <http://www.sunbelt-software.com/SunbeltMessagingNinja.cfm>  ~
>  >
>
>  ~ Upgrade to Next Generation Antispam/Antivirus with Ninja!    ~
>  ~ <http://www.sunbelt-software.com/SunbeltMessagingNinja.cfm>  ~
>

~ Upgrade to Next Generation Antispam/Antivirus with Ninja!    ~
~ <http://www.sunbelt-software.com/SunbeltMessagingNinja.cfm>  ~

Reply via email to