10 lines
680 B
PowerShell
10 lines
680 B
PowerShell
$8021XProfileRef = $wsmanConnectionObject.NewReference("SELECT * FROM AMT_8021XProfile WHERE InstanceID='Intel(r) AMT 802.1x Profile 0'")
|
|
$8021XProfileInstance = $8021XProfileRef.Get()
|
|
$8021XProfileInstance.SetProperty("ElementName", "Intel(r) AMT 802.1x Profile")
|
|
$8021XProfileInstance.SetProperty("InstanceID", "Intel(r) AMT 802.1x Profile 0")
|
|
$8021XProfileInstance.SetProperty("Enabled", "true")
|
|
$8021XProfileInstance.SetProperty("AuthenticationProtocol", "3")
|
|
$8021XProfileInstance.SetProperty("Username", "myUser")
|
|
$8021XProfileInstance.SetProperty("Password", "P@ssw0rd")
|
|
$8021XProfileInstance.SetProperty("ActiveInS0", "true")
|
|
$8021XProfileRef.Put($8021XProfileInstance) |