Skip to content

vm-do.ps1

Source file scripts/vm-do.ps1. This page is generated from the file’s own help comment when the site is built.

Sends one command to the Flare VM session that scripts/vm-session.ps1 keeps open, and prints the answer. No elevation needed.
pwsh scripts/vm-do.ps1 -Command "(Get-E2EState).pane.panel.status"
pwsh scripts/vm-do.ps1 -Command "Shot s1" prints host:<path of the PNG>
pwsh scripts/vm-do.ps1 -File .work/cmd/step1.ps1 runs the commands in a file
pwsh scripts/vm-do.ps1 -Stop
Commands run in the VM's desktop session with the e2e harness loaded (Send-E2E, Invoke-Ribbon, Wait-PaneDone, Get-E2EState) and
the helpers Shot, Tree and UiClick.