title: How can I set Excels "Recalculate workbook before saving" in Powershell?
body: <p>In Powershell I can set the calculation option of an active Excel application to manual via:</p>
  
  <pre><code>$Excel = [Runtime.InteropServices.Marshal]::GetActiveObject("Excel.Application")
  $xlCalculationManual = -4135
  $Excel.Calculation = $xlCalculationManual
  </code></pre>
  
  <p>Is there something similar for Excel's "Recalculate workbook before saving"?
  In VBA this can be achieved via </p>
  
  <pre><code>Application.CalculateBeforeSave = True
  </code></pre>
  
  <p>But I I need this in Powershell...</p>