diff --git a/examples/cli/CLI.ps1 b/examples/cli/CLI.ps1 index 7ce1ce7..aec0e53 100644 --- a/examples/cli/CLI.ps1 +++ b/examples/cli/CLI.ps1 @@ -7,6 +7,8 @@ param( Import-Module ..\..\lib\Voicemeeter.psm1 +$VerbosePreference = "Continue" + function get-value { param([object]$vmr, [string]$line) try { diff --git a/examples/nextbus/GoTo-NextBus.ps1 b/examples/nextbus/GoTo-NextBus.ps1 index 187440e..8b5cd01 100644 --- a/examples/nextbus/GoTo-NextBus.ps1 +++ b/examples/nextbus/GoTo-NextBus.ps1 @@ -9,6 +9,8 @@ Import-Module ..\..\lib\Voicemeeter.psm1 +$VerbosePreference = "Continue" + try { $vmr = Get-RemotePotato diff --git a/examples/obs/README.md b/examples/obs/README.md index 1065845..203d822 100644 --- a/examples/obs/README.md +++ b/examples/obs/README.md @@ -15,7 +15,7 @@ This example assumes the following: ```psd1 @{ - hostname = "localhost" + host = "localhost" port = 4455 password = "mystrongpassword" } diff --git a/examples/obs/Vm-Obs-Sync.ps1 b/examples/obs/Vm-Obs-Sync.ps1 index 40654fd..97fef66 100644 --- a/examples/obs/Vm-Obs-Sync.ps1 +++ b/examples/obs/Vm-Obs-Sync.ps1 @@ -30,7 +30,7 @@ function CurrentProgramSceneChanged { function ExitStarted { param([System.Object]$data) - "OBS closing has begun!" | Write-Host + "OBS shutdown has begun!" | Write-Host break } @@ -59,7 +59,7 @@ function main { if ($data.op -eq 5) { eventHandler($data.d) } - } + } } } finally {