Skip to content

Commit 7914cb0

Browse files
Update Backup-AzRecoveryServicesBackupItem.md
Hi, I've made 2 changes in the Example. Actually there is a parameter called "-FriendlyName", not just "Name" And the other one, is on the last cmdlet, it is missing a "BackupItem" in the final of the cmdlet. $Job = Backup-AzRecoveryServicesBackupItem -Item $Item $NamedContainer = Get-AzRecoveryServicesBackupContainer -ContainerType AzureVM -Status Registered -FriendlyName "pstestv2vm1"
1 parent dca2ef4 commit 7914cb0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/RecoveryServices/RecoveryServices/help/Backup-AzRecoveryServicesBackupItem.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,9 +28,9 @@ Set the vault context by using the Set-AzRecoveryServicesVaultContext cmdlet bef
2828

2929
### Example 1: Start a backup for a Backup item
3030
```
31-
PS C:\> $NamedContainer = Get-AzRecoveryServicesBackupContainer -ContainerType AzureVM -Status Registered -Name "pstestv2vm1"
31+
PS C:\> $NamedContainer = Get-AzRecoveryServicesBackupContainer -ContainerType AzureVM -Status Registered -FriendlyName "pstestv2vm1"
3232
PS C:\> $Item = Get-AzRecoveryServicesBackupItem -Container $NamedContainer -WorkloadType AzureVM
33-
PS C:\> $Job = Backup-AzRecoveryServicesItem -Item $Item
33+
PS C:\> $Job = Backup-AzRecoveryServicesBackupItem -Item $Item
3434
Operation Status StartTime EndTime JOBID
3535
------------ --------- ------ --------- -------
3636
pstestv2vm1 Backup InProgress 4/23/2016 5:00:30 PM cf4b3ef5-2fac-4c8e-a215-d2eba4124f27

0 commit comments

Comments
 (0)