title: Find and format next business date in Powershell
body: <p>I have found that I can get the next business date with</p>
  
  <pre><code>(Get-date)+"$(1+$(@(1,2-eq7-(Get-date).dayofweek)))"
  </code></pre>
  
  <p>But it is in a long date format</p>
  
  <p>I Have found I can format a Date with:</p>
  
  <pre><code>Get-Date -format "yyyyMMdd";
  </code></pre>
  
  <p>But how can I combine these two?</p>
  
  <p>I tried </p>
  
  <pre><code>(Get-date)+"$(1+$(@(1,2-eq7-(Get-date).dayofweek)))" -format 'yyyyMMdd'
  </code></pre>
  
  <p>No luck!  So how do I do this.</p>
  
  <p>My goal being to store the value in a variable like but with the next business day added.</p>
  
  <pre><code>$sdATE =  Get-Date -format "yyyyMMdd";
  </code></pre>