Some OEM include energy saving apps that can switch off certain devices such as webcam or optical drive. Is there any brand-agnostic app out there that can do it? If the list of disabled device is customizable, it would be useful too for mitigating DMA attack (disabling Firewire, PCMCIA, SDIO, Thunderbolt, etc). Even better if it can recognize lock/logoff event, to mimic OSX behavior in mitigating the DMA attack.
You can disable hardware devices via commandline
Note: it may be possible to do this using only powershell but I wasn't able to find the correct calls. The closest I found was
Microsoft supplies Power management profiles that allow one to run with the most suitable profile.
It is possible to further extend Power management by third-party products :
Aerofoil extends Vista and Windows 7 notebook battery life by :
Power Plan Assistant for Windows 7 is capable of much much more than automatic switching of power plans. (Donationware - without donation it requires weekly reinstallation.)