Wifi + LAN Detect and enable
Log In or Register to download the BES file, and more.

0 Votes

Description

Detects if there is no longer an active LAN network connection and a disabled WIFI network connection. If the LAN connection is gone, the action will enable the WIFI adapter.

Property Details

ID24608
StatusAlpha - Code that was just developed
TitleWifi + LAN Detect and enable
DomainBESC
SourceInternal
Source Release Date8/8/2017 12:00:00 AM
Keywordswifi detect enable disable
Added by on 8/8/2017 1:13:54 PM
Last Modified by on 8/8/2017 1:13:54 PM
Counters 425 Views / 2 Downloads
User Rating 1 star 2 star 3 star 4 star 5 star * Average over 0 ratings. ** Log In or Register to add your rating.

Relevance

Used in 1 fixlet   * Results in a true/false
Show indented relevance
(exists select "netconnectionid from win32_NetworkAdapter where NetEnabled = 'FALSE' and PhysicalAdapter='TRUE' and ServiceName = 'NETwNb64'" whose (string value of it != "") of WMI) AND (NOT exists adapter whose (not exists wifi of it and gateway of it as string!= "0.0.0.0" and address of it as string!= "0.0.0.0") of network)

Actions

Action 1 (default)

Action Link Click here to deploy this action.
Script Type BigFix Action Script
//Alpha code - does not accomodate multiple wifi adapters
wait netsh interface set interface "{string value of select "netconnectionid from win32_NetworkAdapter where NetEnabled = 'FALSE' and PhysicalAdapter='TRUE' and ServiceName = 'NETwNb64'" of WMI}" admin=enable
wait ipconfig /release
wait ipconfig /renew
Success Criteria

This action will be considered successful when the applicability relevance evaluates to false.


Sharing

Social Media:
Share this page on Yammer

Comments

Log In or Register to leave comments!
brolly33 -
goes with https://www.bigfix.me/fixlet/details/24607