How to check from inside the azure windows vm if azure backup is enabled or not using powershell cmdlet

Abhishek Singh 381 Reputation points
2021-09-15T09:32:50.413+00:00

How to check from inside the azure windows VM if azure backup is enabled or not using PowerShell cmdlet.
I know how to check it from azure level outside the VM but from within the VM is there any way to get the agent or service status using PowerShell

Azure Backup
Azure Backup
An Azure backup service that provides built-in management at scale.
1,124 questions
{count} votes

2 answers

Sort by: Most helpful
  1. Devaraj G 2,091 Reputation points
    2021-09-15T10:05:30.12+00:00

    HI,

    If the backup is enabled and configured, you will see a folder with the name Microsoft.Azure.RecoveryServices.VMSnapshot under "C:\Packages\Plugins\" in Azure VM

    there are other various ways to find the VM backup status using PS connecting to azure portal and directly

    Regards,
    Dev

    1 person found this answer helpful.
    0 comments No comments

  2. Limitless Technology 39,351 Reputation points
    2021-09-15T14:30:23.97+00:00

    Hello,

    Thanks for reaching out.
    You can use below powershell command to check if back up enabled or not for Azure VM.

    Get-AzRecoveryServicesBackupStatus

    To check whether a VM is backed up or not. Reference link - https://learn.microsoft.com/en-us/powershell/module/az.recoveryservices/get-azrecoveryservicesbackupstatus?view=azps-4.6.0

    Hope this helps,
    Thanks

    0 comments No comments