question

KalaimaniThirupathi-5306 avatar image
0 Votes"
KalaimaniThirupathi-5306 asked SadiqhAhmed-MSFT commented

Get list of VMS in Azure recovery vault

Is there a way to list all the VMS listed in recovery vault using powershell?

azure-backup
· 7
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

@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

0 Votes 0 ·

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

0 Votes 0 ·
SadiqhAhmed-MSFT avatar image SadiqhAhmed-MSFT KalaimaniThirupathi-5306 ·

@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

0 Votes 0 ·
Show more comments

0 Answers