From e10eddf780ee33ef567390d7ee5693063d7d6518 Mon Sep 17 00:00:00 2001 From: onyx-and-iris <75868496+onyx-and-iris@users.noreply.github.com> Date: Wed, 26 Oct 2022 02:51:52 +0100 Subject: [PATCH] fix wording --- README.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 65d00ae..3e23988 100644 --- a/README.md +++ b/README.md @@ -81,21 +81,21 @@ Voicemeeter factory function can be: #### `As a CLI` -As well as storing scripts into files and running them you can invoke expressions straight through Powershell. A quick note, since you cannot Login more than +As well as storing scripts into files and running them you can invoke script blocks straight through Powershell. A quick note, since you cannot Login more than once in a single session you ought to run any commands through a subshell. Assuming you have installed as a module you could run this command: ```powershell -powershell { $vmr = Get-RemoteBasic; $vmr.strip[0].mute=$true; $vmr.Logout() } +powershell { $vmr = Get-RemoteBanana; $vmr.strip[0].mute=$true; $vmr.Logout() } ``` Getters should also work, for example: ```powershell # Print the value of strip 0 mute to console -powershell { $vmr = Get-RemoteBasic; Write-Host "Strip 0 mute =", $vmr.strip[0].mute; $vmr.Logout() } +powershell { $vmr = Get-RemoteBanana; Write-Host "Strip 0 mute =", $vmr.strip[0].mute; $vmr.Logout() } # Toggle strip 0 mute -powershell { $vmr = Get-RemoteBasic; $vmr.strip[0].mute=!$vmr.strip[0].mute; $vmr.Logout() } +powershell { $vmr = Get-RemoteBanana; $vmr.strip[0].mute=!$vmr.strip[0].mute; $vmr.Logout() } ``` So you essentialy have a CLI.