Jump to content

I use a VM for work and I have multiple audio recording devices. Sometimes the system wants to randomly change which device I use.  And for it to switch back to the desired device I have to restart the VM which is very annoying. I don't always remember to disable all the devices that I don't want to use so I wanted to see if I could make a schedule to disable devices before I turn on the VM every day and then enable all of them at the end of the day. I would prefer it to be on a timed schedule but honestly anything will help.

 

I have been doing some research on it using powershell but I am not an avid coder. I did look up all the command lines from Microsoft but I couldn't even get all the devices to show using Get-PnpDevice

Link to comment
https://linustechtips.com/topic/1413505-schedule-enablingdisabling-audio-devices/
Share on other sites

Link to post
Share on other sites

56 minutes ago, FalseControl said:

I use a VM for work and I have multiple audio recording devices. Sometimes the system wants to randomly change which device I use.  And for it to switch back to the desired device I have to restart the VM which is very annoying. I don't always remember to disable all the devices that I don't want to use so I wanted to see if I could make a schedule to disable devices before I turn on the VM every day and then enable all of them at the end of the day. I would prefer it to be on a timed schedule but honestly anything will help.

 

I have been doing some research on it using powershell but I am not an avid coder. I did look up all the command lines from Microsoft but I couldn't even get all the devices to show using Get-PnpDevice

Both the VM and the host are windows then?  Most around here seem to run a win7 vm inside a Linux of some sort.  

Not a pro, not even very good.  I’m just old and have time currently.  Assuming I know a lot about computers can be a mistake.

 

Life is like a bowl of chocolates: there are all these little crinkly paper cups everywhere.

Link to post
Share on other sites

6 minutes ago, Bombastinator said:

Both the VM and the host are windows then?  Most around here seem to run a win7 vm inside a Linux of some sort.  

I have no idea. It is the works VM that work on. But I am saying for my personal machine that is windows I want to disable/enable my devices that I don't need on my personal machine. Not the VM

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×