Hello all,

I'm trying to write a script to enable the power management features for a
NIC, specifically to enable:

allow the computer to turn off this device to save power
allow this device to bring the computer out of standby
Only allow management stations to bring the computer out of standby

I have had a look thru WMI and cannot locate a value I can manipulate. This
needs to be changed on 1000's of computers... Can it be scripted?

Thanks in advance,

John

Re: script to enable Wakeup on NIC by Scott

Scott
Tue Jul 19 18:20:58 CDT 2005

WMI does not currently support this probably because some NIC's do and some
don't support this functionality.

--
Scott McNairy
Microsoft MVP - Windows Server Management Infrastructure


"Mooka" <Mooka@discussions.microsoft.com> wrote in message
news:E455D93C-64D3-4437-9E9E-B26A5D67E277@microsoft.com...
>
> Hello all,
>
> I'm trying to write a script to enable the power management features for a
> NIC, specifically to enable:
>
> allow the computer to turn off this device to save power
> allow this device to bring the computer out of standby
> Only allow management stations to bring the computer out of standby
>
> I have had a look thru WMI and cannot locate a value I can manipulate.
> This
> needs to be changed on 1000's of computers... Can it be scripted?
>
> Thanks in advance,
>
> John
>



Re: script to enable Wakeup on NIC by Torgeir

Torgeir
Wed Jul 20 09:23:16 CDT 2005

Mooka wrote:

> Hello all,
>
> I'm trying to write a script to enable the power management features for a
> NIC, specifically to enable:
>
> allow the computer to turn off this device to save power
> allow this device to bring the computer out of standby
> Only allow management stations to bring the computer out of standby
>
> I have had a look thru WMI and cannot locate a value I can manipulate. This
> needs to be changed on 1000's of computers... Can it be scripted?
>
> Thanks in advance,
>
> John
>
Hi,

For the "Allow this device to bring the computer out of standby"
setting only:

SP2 for WinXP includes a new command line utility powercfg.exe that
can configure this setting.

This command line enables it for my NIC on my computer:

powercfg.exe /DEVICEENABLEWAKE "3Com 3C920 Integrated Fast Ethernet
Controller (3C905C-TX Compatible)"

This command will list out the strings you need to use for the
/DEVICEENABLEWAKE parameter:

powercfg.exe /DEVICEQUERY wake_programmable



--
torgeir, Microsoft MVP Scripting and WMI, Porsgrunn Norway
Administration scripting examples and an ONLINE version of
the 1328 page Scripting Guide:
http://www.microsoft.com/technet/scriptcenter/default.mspx