3 lines
349 B
PowerShell

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