title: Powershell new-item directory with a parameter as part of folder name
body: <p>I'd like to create a folder based on a parameter used in the name, so for example:</p>
  
  <pre><code>    $Website = "test"
      new-item \\172.1.1.1\C`$\Folder\$Website_Archive -type directory
  </code></pre>
  
  <p>The _Archive needs to be part of the folder name but I cannot figure out how to pass the $Website with the _Archive included.</p>
  
  <p>Here is the error I get:</p>
  
  <p>New-Item : Item with specified name \172.1.1.1\C$\Folder\ already exists.
  At line:2 char:9
  + new-item &lt;&lt;&lt;&lt;  \172.1.1.1\C`$\Folder\$Website_Archive -type directory
      + CategoryInfo          : ResourceExists: (\172.1.1.1\C\Folder\:String) [New-Item], IOException
      + FullyQualifiedErrorId : DirectoryExist,Microsoft.PowerShell.Commands.NewItemCommand</p>
  
  <p>If I remove the '_Archive' from the line it will create the folder named "test".  I'm assuming it's looking for a parameter of $Website_Archive and not finding it so it tries to just recreate the root folder.  How can I get the parameter passed into the folder name?</p>
  
  <p>Thanks!</p>
  
  <p>BB</p>