7 lines
440 B
PowerShell
7 lines
440 B
PowerShell
function CommitChanges
|
|
{
|
|
$setupAndConfigurationServiceRef = $wsmanConnectionObject.NewReference("SELECT * FROM AMT_SetupAndConfigurationService WHERE Name='Intel(r) AMT Setup and Configuration Service'")
|
|
$inputObject = $setupAndConfigurationServiceRef.CreateMethodInput("CommitChanges")
|
|
$outputObject = $setupAndConfigurationServiceRef.InvokeMethod($inputObject)
|
|
$returnValue = $outputObject.GetProperty("ReturnValue")
|
|
} |