title: Running macro through PowerShell
body: <p>I want to run a macro through a PowerShell script. I figured out how to start the macro.</p>
  
  <pre><code>$ExcelPath = "R:\01.DS\04.X-DS\13. Proposed plan\Proposed_plan_WINGS.xlsm"
  $Excel = New-Object -ComObject Excel.Application
  $Excel.Visible = $true
  $Workbook = $Excel.Workbooks.Open($ExcelPath)
  $Worksheets = $Workbooks.Worksheets
  $Worksheet = $Workbook.Worksheets.Item(1)
  
  $Excel.Run('Iris_prop_plan')
  </code></pre>
  
  <p>However, when the macro starts, a popup appears which says: update values.
  How do I include this in the code?</p>