title: Use of get-date in powershell to create a log string
body: <p>I'm using these lines in a script to write some information that I'll finally put in a log file.</p>
  
  <pre><code>$log = "some text: "
  $log += Get-Date
  $log += "; some text"
  </code></pre>
  
  <p>This way I'll get my data correctly, so my output will be <code>some text: 02/13/2013 09:31:55; some text</code>.
  Is there a shorter way to obtain this result? I mean some like this (that actually doesn't work)</p>
  
  <pre><code>$log = "some text: " + Get-Date + "; some text"
  </code></pre>