File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
src/RecoveryServices/RecoveryServices/help Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -28,9 +28,9 @@ Set the vault context by using the Set-AzRecoveryServicesVaultContext cmdlet bef
28
28
29
29
### Example 1: Start a backup for a Backup item
30
30
```
31
- PS C:\> $NamedContainer = Get-AzRecoveryServicesBackupContainer -ContainerType AzureVM -Status Registered -Name "pstestv2vm1"
31
+ PS C:\> $NamedContainer = Get-AzRecoveryServicesBackupContainer -ContainerType AzureVM -Status Registered -FriendlyName "pstestv2vm1"
32
32
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
34
34
Operation Status StartTime EndTime JOBID
35
35
------------ --------- ------ --------- -------
36
36
pstestv2vm1 Backup InProgress 4/23/2016 5:00:30 PM cf4b3ef5-2fac-4c8e-a215-d2eba4124f27
You can’t perform that action at this time.
0 commit comments