We will learn here to create PowerShell scripts to toggle web camera status quickly on alaptop with Windows 10.
Author
Techbuddy | Last edit 11/07/2024 by Techbuddy
Duration
10 minute(s) minute(s)
Categories
Machines & Tools, Robotics
We will learn here to create PowerShell scripts to toggle web camera status quickly on alaptop with Windows 10.
Duration
10 minute(s) minute(s)
Categories
Machines & Tools, Robotics
License : Attribution (CC BY)
Use_PowerShell_Script_to_Enable_or_Disable_Webcam_powershell_script.png
Creation
Introduction
Required Skills
- Familiar with coding/software development/programming languages
- Familiar using laptop
Step 1 - Run the Windows Powershell command-line tool as admin
Step 2 - Use Disable-PnpDevice cmdlet to disable the built-in webcam by instance Id
Step 3 - To make the webcam work again, use Enable-PnpDevice cmdlet
Step 4 - Save the commands to disable.ps1 and enable.ps1 files
Step 5 - Create desktop shortcuts to run script directly
Notes and references
Reference - https://www.dynamsoft.com/codepool/powershell-disable-enable-webcam-windows.html
en
none
0
Published
You entered an invalid page name, with one or many of the following characters :
< > @ ~ : * € £ ` + = / \ | [ ] { } ; ? #
You doesn't have an account ? Subscribe to get the best of the plateform !