azure site recovery
2 TopicsInstall-Module MSOnline - not working
Hi all, I am struggling to install: Install-Module MSOnline I get: I have tried: Get-PSRepository WARNING: Unable to find module repositories. When I run: Register-PSRepository -Default I get no error but when trying to run Get-PSRepository again i get WARNING: Unable to find module repositories. Any ideas on how to fix this?Solved22KViews0likes1CommentCollect and consolidating VM name from Azure Site Recovery Plans
I would like to develop a PowerShell script to collect VM names from each recovery plan and consolidate, which are all added into Azure Site Recovery Plan. I tried available commands(Get-AzRecoveryServicesAsrFabric, Get-AzRecoveryServicesAsrProtectableItem, Get-AzRecoveryServicesAsrProtectionContainer, Get-AzRecoveryServicesAsrRecoveryPlan, Get-AzRecoveryServicesAsrReplicationProtectedItem, Get-AzRecoveryServicesAsrServicesProvider) in Azure Az module which are all related one each another to get details. But I am not able to get correct details, and as it seems not straight forward method like Get-AzVM like. Could you please any one share the step by step procedure or suggestion to get the Protected VM’s in each Recovery plan and consolidate? I have attached sample screenshot. ASR-Plan1 & ASR-Plan1 are recovery plan names and inside you can able to see VM names which are all protected(enabled). Appreciating in advance who are all helping on this. Thanks. Jax891Views0likes0Comments