Scripting support is provided via PowerShell Cmdlets, compatible with .Net 4.5.2 and higher, ensuring compatibility with all recent flavors of PowerShell. To start, run:
Example: setting default Virtual Desktop by sequential index. Selection by name or guid option is also available.
Set-VdmActiveVirtualDesktop -index 1
Example: listing available Monitor Snapshots that allow to preserve and restore Windows desktop topology, including monitor sizing, placements and mirroring.
Get-VdmMonitorSnapshots
name index
---- -----
1+1080p_Mirror 0
1+2+3 1
1+2+3 Alternative 2
2 3
2 monitors - low res 4
2+3 5
2+3 shifted 6
5k+8k 7
Example: setting the active Monitor Snapshot by Name. Setup by Index is also available.