title: Creating new user with personalised home drive
body: <p>I'm looking to add to an existing script for creating a new user to copy the cloned user's home directory. I have everything working in the script so far but not sure where to start with copying the cloned user's home directory.</p>
  <p>I can get it to work from CSV files when doing a mass creation but need to define the home directory first. My cloned user is <code>$Clone</code> and the new user is <code>$NewUser</code>. In my script I can set the home drive with</p>
  <pre><code>Set-ADUser $Newuser -HomeDrive $Clone.HomeDrive
  </code></pre>
  <p>I need to copy</p>
  <pre><code>$Clone:- \\homedrive\UserDrive\User1 and create $Newuser:- \\homedrive\UserDrive\User2
  </code></pre>
  <p>either with <code>SamName</code> or <code>%Username%</code></p>