title: How do I get 'date-1' formatted as mm-dd-yyyy using PowerShell?
body: <p>How does one get <em>date-1</em> and format it to mm-dd-yyyy in PowerShell?</p>
  
  <p>Example: If today is November 1, 2013, and I need 10-31-2013 in my code.</p>
  
  <p>I've used AddDays(-1) before, but I can't seem to get it to work with any formatting options.</p>