4 lines
282 B
PowerShell

$8021XProfileRef = $wsmanConnectionObject.NewReference("SELECT * FROM AMT_8021XProfile WHERE InstanceID='Intel(r) AMT 802.1x Profile 0'")
$8021XProfileInstance = $8021XProfileRef.Get()
$8021XProfileInstance.SetProperty("Enabled", "false")
$8021XProfileRef.Put($8021XProfileInstance)