Applies to: Exchange Server 2007 SP3, Exchange Server
2007 SP2, Exchange Server 2007 SP1
Topic Last Modified: 2007-06-28
The Remove-UMVirtualDirectory cmdlet removes an existing virtual directory from a computer that is running Microsoft Exchange Server 2007 that has the Client Access server role installed.
Syntax
Remove-UMVirtualDirectory -Identity
<VirtualDirectoryIdParameter> [-Confirm
[<SwitchParameter>]] [-DomainController <Fqdn>]
[-WhatIf [<SwitchParameter>]]
|
Parameters
Parameter | Required | Type | Description |
---|---|---|---|
Identity |
Required |
Microsoft.Exchange.Configuration.Tasks.VirtualDirectoryIdParameter |
Use this parameter to specify the name of the virtual directory that you are removing. |
Confirm |
Optional |
System.Management.Automation.SwitchParameter |
This parameter causes the command to pause processing and requires that you acknowledge what the command will do before processing continues. The default value is $true. |
DomainController |
Optional |
Microsoft.Exchange.Data.Fqdn |
This parameter specifies the fully qualified domain name (FQDN) of the domain controller that retrieves data from the Active Directory directory service. |
WhatIf |
Optional |
System.Management.Automation.SwitchParameter |
This parameter instructs the command to simulate the actions that it would take on the object. By using the WhatIf parameter, the administrator can view what changes would occur without having to apply any of those changes. The default value is $true. |
Detailed Description
The Remove-UMVirtualDirectory cmdlet removes an existing virtual directory from an Exchange 2007 Unified Messaging server. You can remove the default Exchange Unified Messaging Web Services virtual directory or another Exchange Unified Messaging Web Services virtual directory.
To run the Remove-UMVirtualDirectory cmdlet, the account you use must be delegated the Exchange 2007 Server Administrator role and local Administrators group for the target server.
For more information about permissions, delegating roles, and the rights that are required to administer Exchange 2007, see Permission Considerations.
Input Types
Return Types
Errors
Error | Description |
---|---|
|
|
Exceptions
Exceptions | Description |
---|---|
|
|
Example
This code example removes the virtual directory named UnifiedMessaging from the server named MyCASServer1.
Copy Code | |
---|---|
Remove-UMVirtualDirectory -Identity MyCASServer1\UnifiedMessaging |