Export (0) Print
Expand All
Expand Minimize

Block-CMDevice

Updated: February 7, 2014

Applies To: System Center 2012 R2 Configuration Manager

Block-CMDevice

Blocks Configuration Manager client devices.

Syntax

Parameter Set: SearchByNameMandatory
Block-CMDevice -DeviceName <String[]> [-Confirm] [-WhatIf] [ <CommonParameters>]

Parameter Set: SearchByIdMandatory
Block-CMDevice -DeviceId <String[]> [-Confirm] [-WhatIf] [ <CommonParameters>]

Parameter Set: SearchByValueMandatory
Block-CMDevice -InputObject <IResultObject> [-Confirm] [-WhatIf] [ <CommonParameters>]




Detailed Description

The Block-CMDevice cmdlet blocks one or more client devices. You must block a device from the client's assigned site. You cannot block the device from sites higher in the hierarchy. Blocked devices are ignored by the Microsoft System Center 2012 Configuration Manager hierarchy.

Block a device that you no longer trust, to prevent it from receiving client policy and to prevent System Center 2012 Configuration Manager site systems from communicating with it.

If you later change your mind, you can unblock a device that has been blocked. If you unblock an Intel Active Management Technology (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 System Center 2012 Configuration Manager, see Determine Whether to Block Clients in Configuration Manager (http://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 executing the command.


Required?

false

Position?

named

Default Value

false

Accept Pipeline Input?

false

Accept Wildcard Characters?

false

-WhatIf

Describes what would happen if you executed the command without actually executing the command.


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.

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: Block a device client

This command blocks the Configuration Manager device client named CMCEN-DIST02.


PS C:\> Block-CMDevice -DeviceName "CMCEN-DIST02"

Related topics

 
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft