This message was deleted.
# _general
s
This message was deleted.
a
Copy code
$adapters = Get-NetAdapter -Physical | Get-NetAdapterPowerManagement | Where-Object -FilterScript {$_.AllowComputerToTurnOffDevice -ne "Unsupported"}
    foreach ($adapter in $adapters)
    {
        $adapter.AllowComputerToTurnOffDevice = "Disabled"
        $adapter | Set-NetAdapterPowerManagement
    }
?
👀 2
d
Will give that a try tomorrow, thanks in case it works ;)
@AndrewW I provided the script to the testers, they pushed the script to several test machines, rebooted and after a while the nic gets turned off they say
👍 1