• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 3215
  • Last Modified:

Remove Routing Group Connector getting matches multiple entries

I need to remove my routing group connector
[PS] C:\Windows\system32>get-routinggroupconnector

Name                      SourceRoutingGroup                             TargetRoutingGroup
----                      ------------------                             ------------------
Exchange2003CBB           CENBANK                                        Exchange Routing Group (DWBGZMFD01QNBJR)
Exchange2003CBB           Exchange Routing Group (DWBGZMFD01QNBJR)       CENBANK
Exchange2003LiveCBB       CENBANK                                        Exchange Routing Group (DWBGZMFD01QNBJR)
Exchange2003LiveCBB       Exchange Routing Group (DWBGZMFD01QNBJR)       CENBANK

[PS] C:\Windows\system32>remove-RoutingGroupConnector Exchange2003CBB
The operation couldn't be performed because 'Exchange2003CBB' matches multiple entries.
    + CategoryInfo          : NotSpecified: (0:Int32) [Remove-RoutingGroupConnector], ManagementObjectAmbiguousExcepti
   on
    + FullyQualifiedErrorId : F43D1DE9,Microsoft.Exchange.Management.SystemConfigurationTasks.RemoveRoutingGroupConnec
   tor

above are the commands I ran and the error I am getting

thanks
Marcos
0
CBB
Asked:
CBB
  • 5
  • 2
1 Solution
 
Manpreet SIngh KhatraSolutions Architect, Project LeadCommented:
Get-RoutingGroupConnector "Exchange2003CBB" |FL

If you run the above command does it lists both connectors FL or just the one you want if just the one you want.

Get-RoutingGroupConnector "Exchange2003CBB" | Remove-RoutingGroupConnector

- Rancy
0
 
CBBNet AdminAuthor Commented:
hi

It list both thanks
0
 
CBBNet AdminAuthor Commented:
Get-RoutingGroupConnector "Exchange2003CBB" | Remove-RoutingGroupConnector
gives an error
0
VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

 
CBBNet AdminAuthor Commented:
Hi Rancy
here are the results

[PS] C:\Windows\system32>Get-RoutingGroupCOnnector "Exchange2003CBB" | FL


RunspaceId                   : 7635f1d0-617d-4242-9e96-98f3e7cca092
TargetRoutingGroup           : Exchange Routing Group (DWBGZMFD01QNBJR)
Cost                         : 1
TargetTransportServers       : {AA0202X528}
ExchangeLegacyDN             : /O=Central Bank of Belize/OU=CENBANK/cn=Configuration/cn=Connections/cn=Exchange2003CBB
PublicFolderReferralsEnabled : True
SourceRoutingGroup           : CENBANK
SourceTransportServers       : {AA0402P436}
HomeMTA                      : Microsoft MTA
HomeMtaServerId              : AA0402P436
MaxMessageSize               : unlimited
AdminDisplayName             :
ExchangeVersion              : 0.1 (8.0.535.0)
Name                         : Exchange2003CBB
DistinguishedName            : CN=Exchange2003CBB,CN=Connections,CN=CENBANK,CN=Routing Groups,CN=CENBANK,CN=Administra
                               ive Groups,CN=Central Bank of Belize,CN=Microsoft Exchange,CN=Services,CN=Configuration
                               DC=centralbank,DC=org,DC=bz
Identity                     : Exchange2003CBB
Guid                         : ea21aafc-10fc-4f70-8a64-fcf97a1ee143
ObjectCategory               : centralbank.org.bz/Configuration/Schema/ms-Exch-Routing-Group-Connector
ObjectClass                  : {top, msExchConnector, msExchRoutingGroupConnector}
WhenChanged                  : 2/7/2012 9:13:13 AM
WhenCreated                  : 2/7/2012 9:12:36 AM
WhenChangedUTC               : 2/7/2012 3:13:13 PM
WhenCreatedUTC               : 2/7/2012 3:12:36 PM
OrganizationId               :
OriginatingServer            : AA2102X626.centralbank.org.bz
IsValid                      : True

RunspaceId                   : 7635f1d0-617d-4242-9e96-98f3e7cca092
TargetRoutingGroup           : CENBANK
Cost                         : 1
TargetTransportServers       : {AA0402P436}
ExchangeLegacyDN             : /o=Central Bank of Belize/ou=Exchange Administrative Group (FYDIBOHF23SPDLT)/cn=Configu
                               ation/cn=Connections/cn=Exchange2003CBB
PublicFolderReferralsEnabled : True
SourceRoutingGroup           : Exchange Routing Group (DWBGZMFD01QNBJR)
SourceTransportServers       : {AA0202X528}
HomeMTA                      : Microsoft MTA
HomeMtaServerId              : AA0202X528
MaxMessageSize               : unlimited
AdminDisplayName             :
ExchangeVersion              : 0.1 (8.0.535.0)
Name                         : Exchange2003CBB
DistinguishedName            : CN=Exchange2003CBB,CN=Connections,CN=Exchange Routing Group (DWBGZMFD01QNBJR),CN=Routin
                                Groups,CN=Exchange Administrative Group (FYDIBOHF23SPDLT),CN=Administrative Groups,CN=
                               entral Bank of Belize,CN=Microsoft Exchange,CN=Services,CN=Configuration,DC=centralbank
                               DC=org,DC=bz
Identity                     : Exchange2003CBB
Guid                         : 173284fc-a8d9-44ba-92e3-2774dd725460
ObjectCategory               : centralbank.org.bz/Configuration/Schema/ms-Exch-Routing-Group-Connector
ObjectClass                  : {top, msExchConnector, msExchRoutingGroupConnector}
WhenChanged                  : 2/7/2012 9:13:13 AM
WhenCreated                  : 2/7/2012 9:12:36 AM
WhenChangedUTC               : 2/7/2012 3:13:13 PM
WhenCreatedUTC               : 2/7/2012 3:12:36 PM
OrganizationId               :
OriginatingServer            : AA2102X626.centralbank.org.bz
IsValid                      : True



[PS] C:\Windows\system32>Get-RoutingGroupCOnnector "Exchange2003CBB" | Remove-RoutingGroup-Connector
The term 'Remove-RoutingGroup-Connector' is not recognized as the name of a cmdlet, function, script file, or operable
program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again.
At line:1 char:76
+ Get-RoutingGroupCOnnector "Exchange2003CBB" | Remove-RoutingGroup-Connector <<<<
    + CategoryInfo          : ObjectNotFound: (Remove-RoutingGroup-Connector:String) [], CommandNotFoundException
    + FullyQualifiedErrorId : CommandNotFoundException
0
 
Manpreet SIngh KhatraSolutions Architect, Project LeadCommented:
Get-RoutingGroupConnector "Exchange2003CBB" | Remove-RoutingGroupConnector

Get-RoutingGroupConnector "ea21aafc-10fc-4f70-8a64-fcf97a1ee143" |FL (If this gives the Output)
Get-RoutingGroupConnector "ea21aafc-10fc-4f70-8a64-fcf97a1ee143" | Remove-RoutingGroupConnector

RoutingGroup-Connector
- There is a Hypen as per error

- Rancy
0
 
CBBNet AdminAuthor Commented:
hi Rancy

  I am so glad you caught my syntax error.

Get-RoutingGroupConnector "Exchange2003CBB" | Remove-RoutingGroupConnector

This command delete both entries and this exactly what I wanted.

thanks for your time and solution

have a nice day
0
 
CBBNet AdminAuthor Commented:
Excellent site and I resolved my problem
0

Featured Post

Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

  • 5
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now