3 lines
233 B
PowerShell
3 lines
233 B
PowerShell
$wifiEndpointRef = $wsmanConnectionObject.NewReference("SELECT * FROM CIM_WiFiEndpoint WHERE Name='WiFi Endpoint 0'")
|
|
$wifiEndpointInstance = $wifiEndpointRef.Get()
|
|
$enabledState = $wifiEndpointInstance.GetProperty("EnabledState") |