I have two VBR servers, test and production. On the test server I have a Powershell script that calls
Code: Select all
$objects = Get-VBRJobObject -Job $job -Name $vms
Code: Select all
PS C:\Windows\system32> Get-VBRJobObject -Job wneu-t-win.eurodata.de -Name $vms
Name Type ApproxSize Location
---- ---- ---------- --------
wneu-t-win.eurodata.de Include 40 GB vc4.edsb.eurodata.de\e...
PS C:\Windows\system32>
However running the same script on the production server, $objects remains empty whenever I specify -Name for the virtual machine.
Get-VBRJobObject without -Name:
Code: Select all
PS C:\Users\Administrator> $Job = Get-VbrJob -Name 'VSphere-Management'
Get-VBRJobObject -Job $Job
Name Type ApproxSize Location
---- ---- ---------- --------
VSphere-Management Include 1,1 TB vc4.edsb.eurodata.de\e...
Code: Select all
PS C:\Users\Administrator> $Job = Get-VbrJob -Name 'VSphere-Management'
Get-VBRJobObject -Job $Job -Name 'pcli.edsb.eurodata.de'.
PS C:\Users\Administrator>
Both servers have
- same version Veeam B&R incl. all patches 11.0.0.837 P20210507
- same Powershell version 5.1.17763.1971
- same operating system Windows Server 2019