Fool-proofing

Fool-proofing

This section is WIP

For some reason, Windows sometimes forgets/resets which monitor to use for PowerPoint (because the stage display set up means there are 3 monitors), and it also forgets which sound device to use for playback (choosing the HDMI matrix or a monitor) :/ (depending on the order of powering on the system and HDMI matrix etc.) Disabling the sound device is not enough

  1. Force PowerPoint presentation to projector monitor
    https://github.com/navhaxs/PowerGlue

Set up (Run as admin)

Install-Module -Name AudioDeviceCmdlets

Figure what your device ID should be

Get-AudioDevice -List | Where-Object {$_.Type -eq 'Playback'}

And then create a job in Task Scheduler

ForceDefaultAudioDevice.ps1

$defaultAudioDevice = Get-AudioDevice -Playback | Select -ExpandProperty "ID"
if ($defaultAudioDevice -ne "{0.0.0.00000000}.{e863185e-3b61-4bf8-ac5b-41ff79dec1b8}") {
	Set-AudioDevice -ID "{0.0.0.00000000}.{e863185e-3b61-4bf8-ac5b-41ff79dec1b8}"
}