<?xml version="1.0" encoding="UTF-8"?>
<!-- generator="weebly" -->
<rss version="2.0" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:dc="http://purl.org/dc/elements/1.1/" >

<channel><title><![CDATA[ - PowerShell Stuff]]></title><link><![CDATA[http://www.asktheitguy.com/powershell-stuff.html]]></link><description><![CDATA[PowerShell Stuff]]></description><pubDate>Sat, 18 Feb 2012 14:48:24 -0800</pubDate><generator>Weebly</generator><item><title><![CDATA[PowerShell Bulk User Import CSV file...]]></title><link><![CDATA[http://www.asktheitguy.com/10/post/2011/10/first-post.html]]></link><comments><![CDATA[http://www.asktheitguy.com/10/post/2011/10/first-post.html#comments]]></comments><pubDate>Sat, 15 Oct 2011 13:42:45 -0800</pubDate><category><![CDATA[Uncategorized]]></category><guid isPermaLink="false">http://www.asktheitguy.com/10/post/2011/10/first-post.html</guid><description><![CDATA[How to create a CSV file for bulk New User upload to Windows Active Directory using PowerShell.You will need the names of the users you want to import in a  spreadsheet, preferably with their first name and last names in  different columns.However, the more information about the user the better. For this exercise, I will use the following information:UsernameLogin Account InfoEmail [...] ]]></description><content:encoded><![CDATA[<div  class="paragraph editable-text" style=" text-align: left; ">How to create a CSV file for bulk New User upload to Windows Active Directory using PowerShell.<br />You will need the names of the users you want to import in a  spreadsheet, preferably with their first name and last names in  different columns.However, the more information about the user the better. For this exercise, I will use the following information:<br /><ol><li>Username<br /></li><li>Login Account Info<br /></li><li>Email Address</li><li>Description</li><li>Telephone</li><li>Location</li><li>Department<br /></li></ol> </div>  <div ><div class="wsite-image-border-none " style="padding-top:10px;padding-bottom:10px;margin-left:0;margin-right:0;text-align:left"> <a href='http://www.asktheitguy.com/uploads/3/1/8/2/3182334/4369421_orig.png' rel='lightbox' onclick='if (!lightboxLoaded) return false'> <img src="http://www.asktheitguy.com/uploads/3/1/8/2/3182334/4369421_orig.png" alt="Picture" style="width:100%;max-width:1100px" /> </a> <div style="display:block;font-size:90%"></div> </div></div>  <div  class="paragraph editable-text" style=" text-align: left; ">In each Column add the following syntax:<br /><ul><li>objectClass (e.g. User, Contact, Computer, etc.)</li><li>Name (e.g. Bart Simpton)</li><li>givenName (e.g. Bart)</li><li>Surname (e.g. Simpton)</li><li>DisplayName (e.g. Bart Simpson)</li><li>Office (add the office location of the user)</li><li>OfficePhone (e.g. (555) 555 5555)</li><li>SamAccountName (e.g. simpsonb or whatever username format is required)</li><li>Description (e.g. User, Manager, Supervisor, etc.)</li><li>Department (add the department name)</li><li>Email Address (add the email address)</li><li>userPrincipalName (here's where you will enter the user login name e.g. simpsonb or whichever format required)</li><li>Path (here's where you enter the AD path e.g. OU=Pubs,DC=Springfield,DC=com</li><li>Enabled (e.g. $True or $False)</li></ul>Note: the account will be disabled by default - more ahead. <br /><ul></ul></div>  ]]></content:encoded></item></channel></rss>

