Somehow I have two entries for a FQDN named VC under Get-VBRServer list not showing under GUI at all.
Started out with one VC using IP and added FQDN VC through PS, then removed using PS command
$removeme = Get-VBRServer | where{$_.Name -eq "fqdn placed here"}
$removeme | Remove-VBRServer
Then entered Y and it removed from GUI but the orphan in Get-vbrserver list remains
I tried added the FQDN using GUI and then removed in GUI also and now have two orphan unused fqdn entries under get-vbrserver.
Can't seem to clear these out, any thoughts?
Erik
-
- Novice
- Posts: 3
- Liked: never
- Joined: Jan 04, 2012 11:37 pm
- Full Name: Erik Stoeffels
- Contact:
-
- Veteran
- Posts: 282
- Liked: 26 times
- Joined: Nov 10, 2010 6:51 pm
- Full Name: Seth Bartlett
- Contact:
Re: Remove-VBRserver didn't remove VC from Get-VBRServer lis
You can try doing:
Give that a shot and see if it works. If not, I can tell you where to kill it in the DB.
Code: Select all
(Get-VBRServer | ?{$_.name -eq "VC I want to get rid of"}).Delete()
Skype: Sethbartlett88 - Make sure to label who you are and why you want to add me
Twitter: @sethbartlett
If my post was helpful, please like it. Sometimes twitter is quicker to hit me up if you need me.
Twitter: @sethbartlett
If my post was helpful, please like it. Sometimes twitter is quicker to hit me up if you need me.
-
- Novice
- Posts: 3
- Liked: never
- Joined: Jan 04, 2012 11:37 pm
- Full Name: Erik Stoeffels
- Contact:
Re: Remove-VBRserver didn't remove VC from Get-VBRServer lis
PS D:\scripts> (Get-VBRServer | ?{$_.name -eq "FQDN"}).Delete()
PS D:\scripts> (Get-VBRServer | ?{$_.name -eq "FQDN"})
Info : Veeam.Backup.Model.CDBHost
Id : 843796fe-1fbb-42d0-a31f-599e14a659d5
Name : FQDN
RealName : FQDN
Reference :
Description :
Type : VC
ApiVersion : Unknown
I don't seem to be able to call the Delete function as you had specified. Can you please enlighten me to the database location to remove this ghost VC target?
Thanks,
ERIK
PS D:\scripts> (Get-VBRServer | ?{$_.name -eq "FQDN"})
Info : Veeam.Backup.Model.CDBHost
Id : 843796fe-1fbb-42d0-a31f-599e14a659d5
Name : FQDN
RealName : FQDN
Reference :
Description :
Type : VC
ApiVersion : Unknown
I don't seem to be able to call the Delete function as you had specified. Can you please enlighten me to the database location to remove this ghost VC target?
Thanks,
ERIK
-
- Enthusiast
- Posts: 68
- Liked: 10 times
- Joined: Aug 02, 2011 6:09 pm
- Full Name: Zach Weed
- Contact:
Re: Remove-VBRserver didn't remove VC from Get-VBRServer lis
Have you tried:
$Ghost = Get-VbrServer | ?{$_.name -eq "name_of_ghost_server"}
$Ghost.Delete()
$Ghost = Get-VbrServer | ?{$_.name -eq "name_of_ghost_server"}
$Ghost.Delete()
-
- Enthusiast
- Posts: 68
- Liked: 10 times
- Joined: Aug 02, 2011 6:09 pm
- Full Name: Zach Weed
- Contact:
Re: Remove-VBRserver didn't remove VC from Get-VBRServer lis
Please disregard my last post, as I mis-read Seth's script
If you need more assistance, please create a support ticket.
If you need more assistance, please create a support ticket.
Who is online
Users browsing this forum: No registered users and 10 guests