3 lines
341 B
PowerShell

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