Toggle-Wireless.ps1

This script will query Win32_Battery and will evaluate the value of the BatteryStatus property to determine what to do. There are 11 possible values a value of 2 states the system has access to AC, so I use this as the value to check. If BatterySt

 
 
 
 
 
(0)
1,383 times
Add to favorites
Networking
6/27/2012
E-mail Twitter del.icio.us Digg Facebook
Sign in to ask a question


Be the first to ask a question.