CBB
asked on
Remove Routing Group Connector getting matches multiple entries
I need to remove my routing group connector
[PS] C:\Windows\system32>get-ro utinggroup connector
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 -RoutingGr oupConnect or Exchange2003CBB
The operation couldn't be performed because 'Exchange2003CBB' matches multiple entries.
+ CategoryInfo : NotSpecified: (0:Int32) [Remove-RoutingGroupConnec tor], ManagementObjectAmbiguousE xcepti
on
+ FullyQualifiedErrorId : F43D1DE9,Microsoft.Exchang e.Manageme nt.SystemC onfigurati onTasks.Re moveRoutin gGroupConn ec
tor
above are the commands I ran and the error I am getting
thanks
Marcos
[PS] C:\Windows\system32>get-ro
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
The operation couldn't be performed because 'Exchange2003CBB' matches multiple entries.
+ CategoryInfo : NotSpecified: (0:Int32) [Remove-RoutingGroupConnec
on
+ FullyQualifiedErrorId : F43D1DE9,Microsoft.Exchang
tor
above are the commands I ran and the error I am getting
thanks
Marcos
ASKER
hi
It list both thanks
It list both thanks
ASKER
Get-RoutingGroupConnector "Exchange2003CBB" | Remove-RoutingGroupConnect or
gives an error
gives an error
ASKER
Hi Rancy
here are the results
[PS] C:\Windows\system32>Get-Ro utingGroup COnnector "Exchange2003CBB" | FL
RunspaceId : 7635f1d0-617d-4242-9e96-98 f3e7cca092
TargetRoutingGroup : Exchange Routing Group (DWBGZMFD01QNBJR)
Cost : 1
TargetTransportServers : {AA0202X528}
ExchangeLegacyDN : /O=Central Bank of Belize/OU=CENBANK/cn=Confi guration/c n=Connecti ons/cn=Exc hange2003C BB
PublicFolderReferralsEnabl ed : 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=Conn ections,CN =CENBANK,C N=Routing Groups,CN=CENBANK,CN=Admin istra
ive Groups,CN=Central Bank of Belize,CN=Microsoft Exchange,CN=Services,CN=Co nfiguratio n
DC=centralbank,DC=org,DC=b z
Identity : Exchange2003CBB
Guid : ea21aafc-10fc-4f70-8a64-fc f97a1ee143
ObjectCategory : centralbank.org.bz/Configu ration/Sch ema/ms-Exc h-Routing- Group-Conn ector
ObjectClass : {top, msExchConnector, msExchRoutingGroupConnecto r}
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-98 f3e7cca092
TargetRoutingGroup : CENBANK
Cost : 1
TargetTransportServers : {AA0402P436}
ExchangeLegacyDN : /o=Central Bank of Belize/ou=Exchange Administrative Group (FYDIBOHF23SPDLT)/cn=Confi gu
ation/cn=Connections/cn=Ex change2003 CBB
PublicFolderReferralsEnabl ed : 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=Conn ections,CN =Exchange Routing Group (DWBGZMFD01QNBJR),CN=Routi n
Groups,CN=Exchange Administrative Group (FYDIBOHF23SPDLT),CN=Admin istrative Groups,CN=
entral Bank of Belize,CN=Microsoft Exchange,CN=Services,CN=Co nfiguratio n,DC=centr albank
DC=org,DC=bz
Identity : Exchange2003CBB
Guid : 173284fc-a8d9-44ba-92e3-27 74dd725460
ObjectCategory : centralbank.org.bz/Configu ration/Sch ema/ms-Exc h-Routing- Group-Conn ector
ObjectClass : {top, msExchConnector, msExchRoutingGroupConnecto r}
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-Ro utingGroup COnnector "Exchange2003CBB" | Remove-RoutingGroup-Connec tor
The term 'Remove-RoutingGroup-Conne ctor' 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-Connec tor <<<<
+ CategoryInfo : ObjectNotFound: (Remove-RoutingGroup-Conne ctor:Strin g) [], CommandNotFoundException
+ FullyQualifiedErrorId : CommandNotFoundException
here are the results
[PS] C:\Windows\system32>Get-Ro
RunspaceId : 7635f1d0-617d-4242-9e96-98
TargetRoutingGroup : Exchange Routing Group (DWBGZMFD01QNBJR)
Cost : 1
TargetTransportServers : {AA0202X528}
ExchangeLegacyDN : /O=Central Bank of Belize/OU=CENBANK/cn=Confi
PublicFolderReferralsEnabl
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=Conn
ive Groups,CN=Central Bank of Belize,CN=Microsoft Exchange,CN=Services,CN=Co
DC=centralbank,DC=org,DC=b
Identity : Exchange2003CBB
Guid : ea21aafc-10fc-4f70-8a64-fc
ObjectCategory : centralbank.org.bz/Configu
ObjectClass : {top, msExchConnector, msExchRoutingGroupConnecto
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
IsValid : True
RunspaceId : 7635f1d0-617d-4242-9e96-98
TargetRoutingGroup : CENBANK
Cost : 1
TargetTransportServers : {AA0402P436}
ExchangeLegacyDN : /o=Central Bank of Belize/ou=Exchange Administrative Group (FYDIBOHF23SPDLT)/cn=Confi
ation/cn=Connections/cn=Ex
PublicFolderReferralsEnabl
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=Conn
Groups,CN=Exchange Administrative Group (FYDIBOHF23SPDLT),CN=Admin
entral Bank of Belize,CN=Microsoft Exchange,CN=Services,CN=Co
DC=org,DC=bz
Identity : Exchange2003CBB
Guid : 173284fc-a8d9-44ba-92e3-27
ObjectCategory : centralbank.org.bz/Configu
ObjectClass : {top, msExchConnector, msExchRoutingGroupConnecto
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
IsValid : True
[PS] C:\Windows\system32>Get-Ro
The term 'Remove-RoutingGroup-Conne
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-Connec
+ CategoryInfo : ObjectNotFound: (Remove-RoutingGroup-Conne
+ FullyQualifiedErrorId : CommandNotFoundException
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
hi Rancy
I am so glad you caught my syntax error.
Get-RoutingGroupConnector "Exchange2003CBB" | Remove-RoutingGroupConnect or
This command delete both entries and this exactly what I wanted.
thanks for your time and solution
have a nice day
I am so glad you caught my syntax error.
Get-RoutingGroupConnector "Exchange2003CBB" | Remove-RoutingGroupConnect
This command delete both entries and this exactly what I wanted.
thanks for your time and solution
have a nice day
ASKER
Excellent site and I resolved my problem
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-RoutingGroupConnect
- Rancy