first: I am a n00b in Powershell, usually i use VB(s).
For one of our customers, I tried to create the backupjobs in Veeam 4.1 with powershell.
I tried to use the following command:
Add-VBRBackupJob JobName NET "nbd" "NAS.fqdn" "\Backup\Veeam" "BackupFileName" -Objects "vMachine.fqdn"
JobName = name of the job
NET "nbd" = BackupType "Network" with no additional options
NAS.fqdn = Target NAS with full qualified domain name
\Backup\Veeam = share on NAS with one subdirectory
BackupFileName = name the "created" file shall have
-Objects "vMachine.fqdn" = what virtualmachine should be backuped
As i understood from help, NAS.fqdn is the destination of the backup. It is the "Host".
I get the errormessage: "Unknown host"
If i try to ping the NAS by IP or by name from the Servermachine where VeeamBackup is running, I always get the right answers.
If create the job via gui, it works well.
We use Veeam 4.1 VCenter 4.1 and ESX4 (will be updated)
thank 4 help/ideas