Unblock-CMDevice
Unblock-CMDevice
Unblocks Configuration Manager client devices.
Syntax
Parameter Set: SearchByNameMandatory
Unblock-CMDevice -DeviceName <String[]> [-Confirm] [-WhatIf] [ <CommonParameters>]
Parameter Set: SearchByIdMandatory
Unblock-CMDevice -DeviceId <String[]> [-Confirm] [-WhatIf] [ <CommonParameters>]
Parameter Set: SearchByValueMandatory
Unblock-CMDevice -InputObject <IResultObject> [-Confirm] [-WhatIf] [ <CommonParameters>]
Detailed Description
The Unblock-CMDevice cmdlet unblocks one or more Microsoft System Center 2012 SP1 Configuration Manager client devices. You must unblock a device from the client's assigned site. You cannot unblock the device from sites higher in the hierarchy.
If you unblock an Intel Active Management Technology (Intel AMT)-based computer that you provisioned for AMT when it was blocked, you must take additional steps before you can manage that computer again out of band.
For more information about unblocking a client device in Configuration Manager, see Determine Whether to Block Clients in Configuration Manager (https://go.microsoft.com/fwlink/?LinkId=271116) on TechNet.
Parameters
-DeviceId<String[]>
Specifies an array of device IDs.
Aliases |
ResourceId |
Required? |
true |
Position? |
named |
Default Value |
none |
Accept Pipeline Input? |
True (ByPropertyName) |
Accept Wildcard Characters? |
false |
-DeviceName<String[]>
Specifies an array of device names.
Aliases |
Name |
Required? |
true |
Position? |
named |
Default Value |
none |
Accept Pipeline Input? |
True (ByPropertyName) |
Accept Wildcard Characters? |
false |
-InputObject<IResultObject>
Specifies a CMDevice object. To obtain a CMDevice object, use the Get-CMDevice cmdlet.
Aliases |
none |
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: Unblock a client device
This command unblocks the client device named CMCEN-DIST02.
PS C:\> Unbock-CMDevice -DeviceName "CMCEN-DIST02"