Trying to use powershell with veeam free and it's not working

Trying to setup veeam free to schedule backups from a hyperv server.
If I run it manually from veeam UI it works fine.

I'm using this script:

Add-PSSnapin VeeamPSSnapin
$vms = "adminws"
$netcreds = Get-VBRCredentials -Name "bknas\vmbackups"
foreach($vmname in $vms){
	$vm = Find-VBRHvEntity -Name $vmname
	Start-VBRZip -Folder "Y:\vms" -Entity $vm -Compression 5 -DisableQuiesce -NetworkCredentials $netcreds

Open in new window

It looks like it's trying to backup, however, it never writes a file, and it returns this:

EventNotifier                : Veeam.Backup.Core.CEventNotifier
BottleneckManager            : CJobBottleneckManager
Info                         : Veeam.Backup.Model.CBackupSessionInfo
Progress                     : Veeam.Backup.Model.CBackupProgressData
StartupMode                  : Normal
JobSourceType                : HyperV
CurrentPointId               : 00000000-0000-0000-0000-000000000000
OriginalSessionId            : 73e8e2fd-7784-4df8-adc5-ed13ca85782d
IsFullMode                   : True
IsRetryMode                  : False
IsRecheckRetry               : False
IsQuickBackup                : False
IsVeeamZip                   : True
IsPlannedFailover            : False
IsReplicaFromBackup          : False
IsAdHocBackup                : False
PostActivity                 : AskService
Name                         : adminws_2018-02-21T223729 (Active Full)
OrigJobName                  : adminws_2018-02-21T223729
BackupStats                  : Veeam.Backup.Model.CBackupStats
WorkDetails                  : Veeam.Backup.Core.CBackupSessionWorkDetails
WillBeRetried                : False
IsManuallyStopped            : False
IsTransformLaunched          : False
LastProgressSaveTime         : 1/01/0001 12:00:00 AM
SessionCryptoSpec            : Veeam.Backup.Crypto.CCryptoSymmetricSpec
UserKey                      : 
MasterKey                    : 
UserCryptoSpec               : 
SelectiveProcessingSpec      : 
BackupVerificationResult     : 
IsEncryptionEnabledByOptions : False
IsEncryptionEnabled          : False
SplitStoragesPerVm           : 
DataBag                      : {}
SessionInfo                  : Veeam.Backup.Model.CBackupSessionInfo
Id                           : 73e8e2fd-7784-4df8-adc5-ed13ca85782d
LeaseId                      : 00000000-0000-0000-0000-000000000000
JobType                      : Backup
JobName                      : adminws_2018-02-21T223729
JobSpec                      : <FreeBackupSpec><JobId>211225f1-a77a-4f67-b906-51df9d6bd4f1</JobId><JobName>adminws_2018-02-21T223729</JobName><VmName>adminws</VmName><Platform>EHyperV</Platform><BackupObjects><ObjectId>3a56eff7-9728-4c9e-b2ab-a7f68df95a1d</ObjectId></BackupObjects><UseRepository>False</UseRepos
JobTypeString                : Backup
CreationTimeUTC              : 21/02/2018 10:37:29 PM
Operation                    : 
Description                  : 
BaseProgress                 : 100
IsCompleted                  : True
IsWorking                    : False
IsStarting                   : False
IsPostprocessing             : False
JobId                        : 211225f1-a77a-4f67-b906-51df9d6bd4f1
Result                       : Failed
State                        : Stopped
EndTime                      : 21/02/2018 10:37:56 PM
EndTimeUTC                   : 21/02/2018 10:37:56 PM
CreationTime                 : 21/02/2018 10:37:29 PM
AuxData                      : <AuxData><CBackupSessionWorkDetails><WorkDuration>268086708</WorkDuration></CBackupSessionWorkDetails><SessionStarterInfo Version="1" UserName="techsupport" UserDomainName="RCSA-INT" RunManually="True" LoginType="0" /></AuxData>
IsLowerAgentPriority         : True
LogName                      : Job.adminws_2018-02-21T223729
LogsSubFolder                : adminws_2018-02-21T223729
Logger                       : Veeam.Backup.Core.XmlLogger
Tracer                       : Veeam.Backup.Core.CSessionLogTracer

Open in new window

Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:
Possibilities the limitations for Veeam free!
DFPITCAuthor Commented:
No, this is certainly possible with veeam free edition.

I have had this working before, i'm just not sure what's wrong.
Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:
You are using Update 2, which this has been changed in...

see here
DFPITCAuthor Commented:
I don't understand what you're saying?

I downloaded the latest version, so it has powershell support.
Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:
So you have downloaded v2 as per link which confirms this version has Powershell support!

and if you use the script in the link does it work for you!

(Hyper-V script at the bottom of page!)
DFPITCAuthor Commented:
These answers are terrible, just forget it, i'll figure it out another way.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
DFPITCAuthor Commented:
I'm getting no-where with this line of questioning
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today

From novice to tech pro — start learning today.