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 ArticleRe: 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 ArticleRe: 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 ArticleRe: 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 ArticleRe: 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 ArticleRe: 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
More Pages to Explore .....