Send wake-up packets

Hi,

We have enabled Wake on LAN for our site, we already have a lot of existing deployments but the under the Deployment Settings tab and the 'Send wake-up packets' option is not enabled on these existing deployments.

Does anyone have a powershell script to enable this option for all applications/packages? I don't see anything for this in the config manager Cmdlet's.


June 30th, 2015 5:48am

Moving to the SDK/PoSh subforum ... 
Free Windows Admin Tool Kit Click here and download it now
June 30th, 2015 5:59am

If there's nothing directly exposed by the ConfigMgr cmdlets, you can directly modify the AdvertFlags attribute of the SMS_Advertisement objects (https://msdn.microsoft.com/en-us/library/hh948575.aspx) using the Get-WMIObject or Get-CIMInstance (Get-CIMInstance is generally preferred now but both work). This property is probably a lazy property so w2e'll have to account for that:

http://trevorsullivan.net/2010/09/28/powershell-configmgr-wmi-provider-feat-lazy-properties/

June 30th, 2015 8:31am

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics