title: Add-Content String Quotes with Variable
body: <p>I am tring to add a line to a text file I created however it needs to contain text quotes around a variable.</p>
  
  <p>An example I am working with:</p>
  
  <pre><code>    $wksname="wks12345"
      $path = c:\scripts\file.txt
  
      Add-Content $path '"DefaultUsername" =' "$wksname"
  </code></pre>
  
  <p>I get an error stating that a positional parameter is not found.</p>
  
  <p>What I would like the output to look like in the text file is:
   "DefaultUsername" = "wks12345"</p>
  
  <p>Any ideas?</p>
  
  <p>Thanks!</p>