How to disable or enable “allow the computer to turn off this device to save power” in VC++ or powershell ?
![1.2m Desktop Computer Pc Case On Off Switch Power Supply Reset Button Switch With Dual Usb Ports Audio Jack Home Office - Pc Hardware Cables & Adapters - AliExpress 1.2m Desktop Computer Pc Case On Off Switch Power Supply Reset Button Switch With Dual Usb Ports Audio Jack Home Office - Pc Hardware Cables & Adapters - AliExpress](https://ae01.alicdn.com/kf/HTB1EB4FX2fsK1RjSszbq6AqBXXaO.jpg)
1.2m Desktop Computer Pc Case On Off Switch Power Supply Reset Button Switch With Dual Usb Ports Audio Jack Home Office - Pc Hardware Cables & Adapters - AliExpress
![Amazon.com: Reset HDD Button Switch,GELRHONR Desktop PC Computer Case Power Supply Supplies on/Off with Dual USB Ports,Audio Ports and Reset HDD Push Button Switch for Home, Office, Internet Cafes(Cable 120CM : Electronics Amazon.com: Reset HDD Button Switch,GELRHONR Desktop PC Computer Case Power Supply Supplies on/Off with Dual USB Ports,Audio Ports and Reset HDD Push Button Switch for Home, Office, Internet Cafes(Cable 120CM : Electronics](https://images-na.ssl-images-amazon.com/images/I/81wn3BS9rXL._AC_UL600_SR600,600_.jpg)
Amazon.com: Reset HDD Button Switch,GELRHONR Desktop PC Computer Case Power Supply Supplies on/Off with Dual USB Ports,Audio Ports and Reset HDD Push Button Switch for Home, Office, Internet Cafes(Cable 120CM : Electronics
![Amazon.com: VEMONT USB hub,Computer Peripheral Equipment 7-Port USB 3.0 hub with 5V2A Power Adapter and Individual On/Off Switches,USB Charging hub 4ft/1.2m Long Cable : Electronics Amazon.com: VEMONT USB hub,Computer Peripheral Equipment 7-Port USB 3.0 hub with 5V2A Power Adapter and Individual On/Off Switches,USB Charging hub 4ft/1.2m Long Cable : Electronics](https://m.media-amazon.com/images/I/61OTxqDCGPL.jpg)
Amazon.com: VEMONT USB hub,Computer Peripheral Equipment 7-Port USB 3.0 hub with 5V2A Power Adapter and Individual On/Off Switches,USB Charging hub 4ft/1.2m Long Cable : Electronics
![Atolla Super Speed USB 3.0 Hub with 7-port Up to 5Gbp, One Smart Charging Port, Individual On/Off Switches, 5V/4A Power Adapter USB Extension for PC, MacBook, Mac Mini, Laptops - Newegg.com Atolla Super Speed USB 3.0 Hub with 7-port Up to 5Gbp, One Smart Charging Port, Individual On/Off Switches, 5V/4A Power Adapter USB Extension for PC, MacBook, Mac Mini, Laptops - Newegg.com](https://c1.neweggimages.com/ProductImageCompressAll1280/ACU6_132104177611241908t0W6r4POgG.jpg)
Atolla Super Speed USB 3.0 Hub with 7-port Up to 5Gbp, One Smart Charging Port, Individual On/Off Switches, 5V/4A Power Adapter USB Extension for PC, MacBook, Mac Mini, Laptops - Newegg.com
![7 Port High Speed USB 2.0 Hub w/Individual Power Switches On Off and LEDs, Compatible with Laptop PC USB Flash Drive Smartphone Transfer Data Speed up to 480Mbps Supports Windows Mac OS 7 Port High Speed USB 2.0 Hub w/Individual Power Switches On Off and LEDs, Compatible with Laptop PC USB Flash Drive Smartphone Transfer Data Speed up to 480Mbps Supports Windows Mac OS](https://i5.walmartimages.com/asr/b4c93a23-fbd7-419b-80c9-7a1800317988.4809818f6ca1c0db4b480eb5ecac59b1.jpeg)
7 Port High Speed USB 2.0 Hub w/Individual Power Switches On Off and LEDs, Compatible with Laptop PC USB Flash Drive Smartphone Transfer Data Speed up to 480Mbps Supports Windows Mac OS
![Amazon.com: Powered USB 3.1Hub, 10-Port USB Data Hub Splitter with 3 USB 3.1(10Gbps), 4 USB 3.0, 3 Charging Ports, Individual ON/Off Switches and 12V/5A DC Power Adapter, USB C Hub for Laptops Amazon.com: Powered USB 3.1Hub, 10-Port USB Data Hub Splitter with 3 USB 3.1(10Gbps), 4 USB 3.0, 3 Charging Ports, Individual ON/Off Switches and 12V/5A DC Power Adapter, USB C Hub for Laptops](https://m.media-amazon.com/images/I/41ggb74as+L._AC_SY580_.jpg)