我正在尝试为Veeam作业设置VSS配置选项。我修改对象的属性,如下所示:
# Get the VBR Job
$jobname = "TestJob"
$VSSOptions = (Get-VBRJob -Name $jobname).VSSOptions
# Set the required property to false. This is a boolean type.
$VSSOptions.GuestProxyAutoDetect = $false
# SUCCESS. Property is set 'false' confirmed with $VSSOptions
# Set the VSS options on the job.
Get-VBRJob -Name $jobname | Set-VBRJobVssOptions -Options $VSSOptions
# Check the output.
Get-VBRJob -Name $jobname | Get-VBRJobObject | Select -First 1 | Get-VBRJobObjectVssOptions
命令Set-VBRJobVssOptions
不会显示错误消息,但是不会设置属性。它不起作用。
我想念什么?