File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 2
2
title : Soft delete for Azure Backup
3
3
description : Learn how to use security features in Azure Backup to make backups more secure.
4
4
ms.topic : how-to
5
- ms.date : 01/04 /2024
5
+ ms.date : 02/08 /2024
6
6
ms.custom : devx-track-azurepowershell, engagement-fy24
7
7
ms.service : backup
8
8
author : AbhishekMallick-MS
@@ -130,8 +130,8 @@ Follow these steps:
130
130
1 . Identify the items that are in soft-deleted state.
131
131
132
132
``` powershell
133
-
134
- Get-AzRecoveryServicesBackupItem -BackupManagementType AzureVM -WorkloadType AzureVM -VaultId $myVaultID | Where-Object {$_.DeleteState -eq "ToBeDeleted"}
133
+ $vault = Get-AzRecoveryServicesVault -ResourceGroupName "yourResourceGroupName" -Name "yourVaultName"
134
+ Get-AzRecoveryServicesBackupItem -BackupManagementType AzureVM -WorkloadType AzureVM -VaultID $vault.ID | Where-Object {$_.DeleteState -eq "ToBeDeleted"}
135
135
136
136
Name ContainerType ContainerUniqueName WorkloadType ProtectionStatus HealthStatus DeleteState
137
137
---- ------------- ------------------- ------------ ---------------- ------------ -----------
You can’t perform that action at this time.
0 commit comments