if ( ( it="WinXP"ORit="WinXP-2003"ORit="WinVista"ORit="Win7"ORit="Win2008"ORit="Win2008R2" ) of name of operating system ) then ( ( exists values whose ( name ofit="PnPCapabilities"ANDitas integer =48 ) of keys whose ( value "Characteristics"ofitas integer =132 ) of key "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Class\{4D36E972-E325-11CE-BFC1-08002bE10318}"of registry ) ) else ( if ( name of operating system ="Mac OS X" ) then ( ifexists file "/Library/Preferences/SystemConfiguration/com.apple.PowerManagement.plist"then ( ( ifit=1thentrueelsefalse ) of integer "Wake On LAN"of dictionary "AC Power"of dictionary "Custom Profile"of dictionary of file "/Library/Preferences/SystemConfiguration/com.apple.PowerManagement.plist" ) elsefalse ) elsefalse )
if ((it="WinXP"ORit="WinXP-2003"ORit="WinVista"ORit="Win7"ORit="Win2008"ORit="Win2008R2") of name of operating system) then ((exists values whose(name ofit="PnPCapabilities"ANDitas integer =48 ) of keys whose(value "Characteristics"ofitas integer =132) of key "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Class\{4D36E972-E325-11CE-BFC1-08002bE10318}"of registry)) else (if (name of operating system ="Mac OS X") then (ifexists file "/Library/Preferences/SystemConfiguration/com.apple.PowerManagement.plist"then ((ifit=1thentrueelsefalse) of integer "Wake On LAN"of dictionary "AC Power"of dictionary "Custom Profile"of dictionary of file "/Library/Preferences/SystemConfiguration/com.apple.PowerManagement.plist") elsefalse) elsefalse)
if ( ( it="WinXP"ORit="WinXP-2003"ORit="WinVista"ORit="Win7"ORit="Win2008"ORit="Win2008R2" ) of name of operating system ) then ( ( notexists values whose ( name ofit="PnPCapabilities"ANDitas integer =288 ) of keys whose ( value "Characteristics"ofitas integer =132 ) of key "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Class\{4D36E972-E325-11CE-BFC1-08002bE10318}"of registry ) ) else ( if ( name of operating system ="Mac OS X" ) then ( ifexists file "/Library/Preferences/SystemConfiguration/com.apple.PowerManagement.plist"then ( ( ifit=0thentrueelsefalse ) of integer "Wake On LAN"of dictionary "AC Power"of dictionary "Custom Profile"of dictionary of file "/Library/Preferences/SystemConfiguration/com.apple.PowerManagement.plist" ) elsefalse ) elsefalse )
if ((it="WinXP"ORit="WinXP-2003"ORit="WinVista"ORit="Win7"ORit="Win2008"ORit="Win2008R2") of name of operating system) then ((notexists values whose (name ofit="PnPCapabilities"ANDitas integer =288) of keys whose (value "Characteristics"ofitas integer =132) of key "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Class\{4D36E972-E325-11CE-BFC1-08002bE10318}"of registry)) else (if (name of operating system ="Mac OS X") then (ifexists file "/Library/Preferences/SystemConfiguration/com.apple.PowerManagement.plist"then ((ifit=0thentrueelsefalse) of integer "Wake On LAN"of dictionary "AC Power"of dictionary "Custom Profile"of dictionary of file "/Library/Preferences/SystemConfiguration/com.apple.PowerManagement.plist") elsefalse) elsefalse)
( ( itstartswith"Win" ) OR ( itstartswith"AIX" ) OR ( itstartswith"HP-UX" ) OR ( itstartswith"Mac OS X" ) OR ( itstartswith"VMWare" ) OR ( itstartswith"SunOS" ) OR ( itstartswith"Linux" ) ) of name of operating system
((itstartswith"Win") OR (itstartswith"AIX") OR (itstartswith"HP-UX") OR (itstartswith"Mac OS X") OR (itstartswith"VMWare") OR (itstartswith"SunOS") OR (itstartswith"Linux")) of name of operating system