I'm on the midst on evaluating veeam v6 and starting to exploring the powershell feature.
While I'm having some issue on creating replication jobs via powershell.
Can anyone provide me an example on how to schedule a replication job on specific time and under specific datastore?
Code: Select all
$GSServer = Find-VBRViEntity -name vmserver
$BKServer = Get-VBRServer | where {$_.Name -eq "192.168.0.178"}
$BKDS = Find-VBRDatastore -Server ($BKServer) | where {$_.Name -eq "datastore01"}
Add-VBRViReplicaJob -Name BK_vmserver -Server ($BKServer) -Entity ($GSServer) -Datastore ($BKDS)
tastore01" value of type "Veeam.Backup.ViSoap.Datastore" to type "Veeam.Backup.C
ore.Infrastructure.CViDatastoreItem"."