Remove-SupervisionListEntry

[This is pre-release documentation and subject to change in future releases. This topic's current status is: Writing.]

Applies to: Exchange Server 2010 Beta Topic Last Modified: 2008-12-11

Use the Remove-SupervisionListEntry cmdlet to remove an e-mail address with a specific tag from the supervision list of a mailbox.


Remove-SupervisionListEntry -Identity <RecipientIdParameter> -Entry <RecipientIdParameter> -Tag <String> [-Confirm [<SwitchParameter>]] [-DomainController <Fqdn>] [-WhatIf [<SwitchParameter>]]


Remove-SupervisionListEntry -Identity <RecipientIdParameter> -RemoveAll <SwitchParameter> [-Confirm [<SwitchParameter>]] [-DomainController <Fqdn>] [-WhatIf [<SwitchParameter>]]

Parameter Required Type Description

Identity

Required

Microsoft.Exchange.Configuration.Tasks.RecipientIdParameter

The Identity parameter specifies the mailbox whose supervision list will be queried.

You can use one of the following values:

  • GUID
  • Distinguished name (DN)
  • Domain\Account
  • User principal name (UPN)
  • LegacyExchangeDN
  • SmtpAddress
  • Alias

Entry

Required

Microsoft.Exchange.Configuration.Tasks.RecipientIdParameter

The Entry parameter specifies the sender address for which the supervision list entry is being removed.

RemoveAll

Required

System.Management.Automation.SwitchParameter

The RemoveAll parameter is used to remove all supervision list entries for the specified mailbox.

Tag

Required

System.String

The Tag parameter specifies the supervision tag that will be removed for the specified sender.

Confirm

Optional

System.Management.Automation.SwitchParameter

The Confirm switch can be used to suppress the confirmation prompt that appears by default when this cmdlet is run. To suppress the confirmation prompt, use the syntax -Confirm:$False. You must include a colon ( : ) in the syntax.

DomainController

Optional

Microsoft.Exchange.Data.Fqdn

The DomainController parameter specifies the fully qualified domain name (FQDN) of the domain controller that writes this configuration change to Active Directory.

WhatIf

Optional

System.Management.Automation.SwitchParameter

The WhatIf switch instructs the command to simulate the actions that it would take on the object. By using the WhatIf switch, you can view what changes would occur without having to apply any of those changes. You don't have to specify a value with the WhatIf switch.

To run this cmdlet, you must be assigned, either directly or using a universal security group, one of the following management roles:

  • Organization Management 
  • Organization Management - Tenant 

While all parameters for this cmdlet are listed in this topic, you may not have access to some parameters if they are not included in the management roles assigned to you. For more information, see Permissions Information for Cmdlet Help and Procedural Topics.

EXAMPLE 1

The following example removes the sender jprice@contoso.com with tag "Reject" from the supervision list of the mailbox belonging to Karen Berg.

Remove-SupervisionListEntry "Karen Berg" -Entry jprice@contoso.com -Tag "Reject"

EXAMPLE 2

The following example removes all senders from the supervision list of the mailbox belonging to Karen Berg.

Remove-SupervisionListEntry "Karen Berg" -RemoveAll
Show: