Update-CMAMTProvisioning
Update-CMAMTProvisioning
Updates provisioning for an Intel AMT-based computer.
Syntax
Parameter Set: SearchByNameMandatory
Update-CMAMTProvisioning -DeviceName <String[]> [-Confirm] [-WhatIf] [ <CommonParameters>]
Parameter Set: SearchByIdMandatory
Update-CMAMTProvisioning -DeviceId <String[]> [-Confirm] [-WhatIf] [ <CommonParameters>]
Parameter Set: SearchByValueMandatory
Update-CMAMTProvisioning -Device <IResultObject> [-Confirm] [-WhatIf] [ <CommonParameters>]
Detailed Description
The Update-CMAMTProvisioning cmdlet updates provisioning for an Intel Active Management Technology (Intel AMT)-based computer. Provisioning is the process of initializing and registering a computer that has Intel AMT technology with Microsoft System Center 2012 SP1 Configuration Manager for out-of-band management. This cmdlet updates provisioning information.
You can specify computers to update by using the System Center 2012 Configuration Manager device name or device ID, or you can use the Get-CMDevice cmdlet to get a device object.
Parameters
-Device<IResultObject>
Specifies a device object. To obtain a device object, use Get-CMDevice.
Aliases |
none |
Required? |
true |
Position? |
named |
Default Value |
none |
Accept Pipeline Input? |
True (ByPropertyName) |
Accept Wildcard Characters? |
false |
-DeviceId<String[]>
Specifies an array of IDs of devices.
Aliases |
ResourceId |
Required? |
true |
Position? |
named |
Default Value |
none |
Accept Pipeline Input? |
True (ByPropertyName) |
Accept Wildcard Characters? |
false |
-DeviceName<String[]>
Specifies an array of names of devices.
Aliases |
Name |
Required? |
true |
Position? |
named |
Default Value |
none |
Accept Pipeline Input? |
True (ByPropertyName) |
Accept Wildcard Characters? |
false |
-Confirm
Prompts you for confirmation before running the cmdlet.
Required? |
false |
Position? |
named |
Default Value |
false |
Accept Pipeline Input? |
false |
Accept Wildcard Characters? |
false |
-WhatIf
Shows what would happen if the cmdlet runs. The cmdlet is not run.
Required? |
false |
Position? |
named |
Default Value |
false |
Accept Pipeline Input? |
false |
Accept Wildcard Characters? |
false |
<CommonParameters>
This cmdlet supports the common parameters: -Verbose, -Debug, -ErrorAction, -ErrorVariable, -OutBuffer, and -OutVariable. For more information, see about_CommonParameters (https://go.microsoft.com/fwlink/p/?LinkID=113216).
Inputs
The input type is the type of the objects that you can pipe to the cmdlet.
Outputs
The output type is the type of the objects that the cmdlet emits.
Examples
Example 1: Update provisioning for a device by using an ID
This command updates provisioning for an Intel AMT-based computer that has the device ID 16777230.
PS C:\> Update-CMAmtProvisioning -DeviceID "16777230"
Example 2: Update provisioning for a device by using an ID
This command updates provisioning for an Intel AMT-based computer named Accn023.Contoso.com.
PS C:\> Update-CMAmtProvisioning -DeviceName "Accn023.Contoso.com"
Example 3: Enable audit logging by using a variable
The first command gets a device object by using the Get-CMDevice cmdlet, and then stores it in the $CMD variable.
The second command updates provisioning for the device in $CMD.
PS C:\> $CMD = Get-CMDevice -Name "Accn023.Contoso.com"
PS C:\> Update-CMAmtProvisioning -Device $CMD