Quantcast
Channel: Quest Communities: Message List - Powershell question
Browsing latest articles
Browse All 6 View Live

Powershell question

When a VM exist in a backup group and ithen deleted from Virltual Center it appears as disconnected from the backup group.Does anyone know how to remove disconnected VMs from a backup group using...

View Article



Image may be NSFW.
Clik here to view.

Re: Powershell question

$group = Get-BackupGroupEntity | ? {$_.Name -eq 'BG#1'}$vm = Get-InventoryEntity  -Type VirtualMachine | ? {$_.Name -eq 'ag005'}Remove-BackupGroupMember -BackupGroupId $group.EntityId -MemberEntity $vm

View Article

Image may be NSFW.
Clik here to view.

Re: Powershell question

Thanks for the example on how to remove a VM from a backup group (which I knew) my question was how to remove (using powershell) a VM from a backup group that is disconnected.

View Article

Image may be NSFW.
Clik here to view.

Re: Powershell question

Hi jim, Andrew post the good script.  Please see my notes. $group = Get-BackupGroupEntity | ? {$_.Name -eq 'GROUPNAME'}   ///   Retrieve the backup group where is located your VM.$vm =...

View Article

Re: Powershell question

the command $vm = Get-InventoryEntity  -Type VirtualMachine | ? {$_.Name -eq 'VMNAME'returns NULL because the VM in question has been deleted from Virtual Center which is the reason theVM went into a...

View Article


Re: Powershell question

IMHO, seems like classic "Catch-22"Remove-BackupGroupMember cmdlet requires MemberEntity defined.MemberEntity should be found with Get-InventoryEntity cmdlet.Get-InventoryEntity won't find anything...

View Article
Browsing latest articles
Browse All 6 View Live




Latest Images