3 lines
347 B
PowerShell

$setupAndConfigurationServiceRef = $wsmanConnectionObject.NewReference("SELECT * FROM AMT_SetupAndConfigurationService WHERE Name='Intel(r) AMT Setup and Configuration Service'")
$setupAndConfigurationServiceInstance = $setupAndConfigurationServiceRef.Get()
$provisioningMode = $setupAndConfigurationServiceInstance.GetProperty("ProvisioningMode")