Honestly I didn't tried to run on an other server. The issues is that VEEAM PowerCLI doesn't allow to remote connect to a VEEAM server like VMWARE PowerCLI.
See this topic : http://forums.veeam.com/powershell-f26/connect-to-remote-veeam-backup-server-with-powershell-t7443.html
As suggested in this topic, you could try to use
- Code: Select all
Invoke-Command -ComputerName "VBR-01" -ScriptBlock "asnp VeeamPSSnapin; #some code, using semicolons instead of line breaks#"
To execute "Get-VBRBackupSession"
Unfortunately I'm not able to test because only my VEEAM host is in Windows