使用Powershell在特定的备份保管库中获取作业详细信息 [英] Fetching Job Details in specific backup vault using powershell
问题描述
我正在尝试使用Powershell提取作业详细信息,我正在按照以下步骤操作,备份类型为
I am trying to extract the job detail using powershell i am following below steps and backup type is Files and folders
1.
Get-AzureRmRecoveryServicesVault-名称库名称" | Set-AzureRmRecoveryServicesVaultContext
2.
$ container = Get-AzureRmRecoveryServicesBackupContainer -ContainerType Windows -FriendlyName" 文件库名称" -BackupManagementType MARS
$container=Get-AzureRmRecoveryServicesBackupContainer -ContainerType Windows -FriendlyName "vault name" -BackupManagementType MARS
Get-AzureRmRecoveryServicesBackupItem-容器$ container -WorkloadType
Get-AzureRmRecoveryServicesBackupItem -Container $container -WorkloadType
我不确定要在工作负载类型中传递什么参数,为此我尝试使用AzureVM和AzureSQLDatabase,但出现以下错误
请帮助.
多愁善感的开发者潘迪(Pandey)独享,请记住,如果有帮助,请将其标记为答案
Prashant Dev Pandey LIVE IN YOUR OWN WAY Please remember to mark the replies as answers if they help
推荐答案
Download the latest version of PowerShell and try the following command and let us know the status.
Get-AzureRmRecoveryServicesBackupItem -BackupManagementType azurevm -Name "name of the VM" -WorkloadType AzureVM
这篇关于使用Powershell在特定的备份保管库中获取作业详细信息的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!