title: Add inverted quotes to a value of a variable in PowerShell 2.0
body: <p>I would like to have a variable value as "1/14/2013 10:00:00" (including the inverted quotes). Below is the code:</p>
  
  <pre><code>$a = Get-Date
  $b = $a.AddDays(-1)
  $b = $b.ToShortDateString();
  $StartTime = "10:00:00 PM"
  $EndTime = "11:00:00 PM"
  $before = $b + " " + $StartTime
  $after = $b + " " + $EndTime
  </code></pre>
  
  <p>Upon further research, I found that there is an issue reported by Microsoft. It can be found <a href="http://connect.microsoft.com/PowerShell/feedback/details/376207/executing-commands-which-require-quotes-and-variables-is-practically-impossible#details" rel="nofollow">here</a></p>
  
  <p>Any idea? Thanks!</p>