This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Starts the specified VirtualBox virtual machine with the maximum number | |
# of virtual monitors (i.e. with the number of virtual monitors matching the | |
# number of physical monitors attached to the PC). | |
# Set these variables as appropriate for your environment. | |
$virtualboxBinFolder = "C:\Program Files\Oracle\VirtualBox" | |
$VMName = "MyVirtualMachine" | |
# Returns the physical monitor count for this PC. | |
Function GetMonitorCount |