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
param([switch]$Elevated) | |
# Run elevated powershell that can execute scripts | |
# Source: https://superuser.com/questions/108207/how-to-run-a-powershell-script-as-administrator | |
function Test-Admin { | |
$currentUser = New-Object Security.Principal.WindowsPrincipal $([Security.Principal.WindowsIdentity]::GetCurrent()) | |
$currentUser.IsInRole([Security.Principal.WindowsBuiltinRole]::Administrator) | |
} |
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
--[[ ZOOM PTT FOR LOGITECH G | |
PREREQUISITES: | |
- Logitech G compatible mouse | |
- Following checkboxes are checked in Zoom preferences: | |
- Keyboard Shortcuts -> Mute/Unmute My Audio -> Enable Global Shortcut | |
- Audio -> Mute my mic when joining a meeting | |
- Audio -> Automaically join computer audio when joining a meeting | |
INSTALLATION: |