Is there a way to list all the VMS listed in recovery vault using powershell?
Is there a way to list all the VMS listed in recovery vault using powershell?
@KalaimaniThirupathi-5306 Thank you for contacting us!
Refer to Jason's post from this link - https://serverfault.com/questions/862837/get-list-of-vms-in-azure-recovery-vault
Hope this helps!
If the response helped, do "Accept Answer" and up-vote it
I Was referred this link already. but, its not working.
I was looking for someone help badly here.
I have posted multiple questions but have not received none of them from Microsoft
@KalaimaniThirupathi-5306 Does this get the info you need?
• Get-AzRecoveryServicesVault -Name "VaultName" -ResourceGroupName "VaultRG" | Set-AzureRmRecoveryServicesVaultContext
• $nameContainer = Get-AzRecoveryServicesBackupContainer -ContainerType "AzureVM" -Status "Registered"
• $nameContainer
If the response helped, do "Accept Answer" and up-vote it
4 people are following this question.