Our great sponsors
-
AudioDeviceCmdlets
AudioDeviceCmdlets is a suite of PowerShell Cmdlets to control audio devices on Windows
-
WorkOS
The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.
-
RunAsUser
a PowerShell module that allows you to impersonate the currently logged on user, while running PowerShell.exe as system.
My current progress is located at https://github.com/sys-bs/Powershell/blob/main/invoke-ComputerLocate-V2.ps1
Since my last update i have followed the links and advice that u/MasterChiefmas, u/PajamaDuelist, u/spyingwind, and u/ps1_missionary replied with. While none of their information directly helped, it helped me find the rabbit trails to get to this point. as of right now this script will control the remote audio devices but it will not allow you to play audio out of the remote pc speakers. if you run the contents of the invoke command in start-tone in a admin powershell window on your account it will work so i know the code is sound (pun intended). while doing researching this issue i came across AudioDeviceCmdlets from https://github.com/frgnca/AudioDeviceCmdlets and this helped solve many of the issues i had with controlling and unmuting audio remotely. However i still have issues getting audio to play remotely.
Related posts
- Trying to switch audio device with PnpDevice
- PowerShell script to update input/output device preferences when Windows changes the ID values
- Set default audio output device on Windows using Go
- Another Dear MS Teams: Please allow me to change the volume of specific participants on calls
- is there a way to raise or lower a pc’s volume in command prompt??