11/11/2008

The Remove-BlockedDevicecmdlet removes a managed Windows Mobile device from the blocked device list.

Syntax

Remove-BlockedDevice [-DeviceId] <DeviceIdParameter>
[-WhatIf] [-Confirm] [<CommonParameters>]

Remove-BlockedDevice -Owner <OwnerIdParameter> [-WhatIf]
[-Confirm] [<CommonParameters>]

Parameters

The following describes the Remove-BlockedDevicecmdlet parameters.

DeviceId <DeviceIdParameter>

Specifies the identity of the managed device to be unblocked. This parameter can be a device common name, the distinguished name, the fully qualified domain name (FQDN), or the security ID (SID).

Owner <OwnerIdParameter>

Identifies the managed device to be unblocked based on the device owner. If the cmdlet finds more than one managed device for this owner, an error message is returned. This parameter can be a common name, e-mail address, distinguished name, SID, or Logon ID.

WhatIf

Informs you of what changes would be made if the action were to be performed (the cmdlet is not executed).

Confirm

Prompts you for confirmation before the cmdlet executes.

CommonParameters

This cmdlet supports the common parameters: -Verbose, -Debug, -ErrorAction, -ErrorVariable, and -OutVariable. For more information, at the Mobile Device Manager (MDM) Shell prompt, type get-help about_commonparameters.

Input Type

The Remove-BlockedDevicecmdlet accepts a string through the pipeline that identifies a managed device, or an object that has the deviceIdproperty.

Output Type

None

Examples

This Remove-BlockedDevicecommand example unblocks the managed device, device1.

Copy Code
C:\PS>Remove-BlockedDevice -deviceid device1

This Remove-BlockedDevicecommand example unblocks all the managed devices owned by Mikael Sandberg.

Copy Code
C:\PS>Remove-BlockedDevice -Owner "Mikael Sandberg"

Cmdlet Help

To view this information online, at the MDM Shell prompt, type:

get-help Remove-BlockedDevice -detailed, or get-help Remove-BlockedDevice -full

See Also