Code: Select all
Asnp : The Windows PowerShell snap-in 'VeeamPSSnapin' is not installed on this computer.
At C:\scripts_Veeam\Veeam_.ps1:69 char:1
+ Asnp VeeamPSSnapin
+ ~~~~~~~~~~~~~~~~~~
+ CategoryInfo : InvalidArgument: (VeeamPSSnapin:String) [Add-PSSnapin], PSArgumentException
+ FullyQualifiedErrorId : AddPSSnapInRead,Microsoft.PowerShell.Commands.AddPSSnapinCommand
Get-VBRServer : Remote connection was terminated. Either re-establish remote connection or use local one, ex.
Connect-VBRServer -Server localhost
At C:\scripts_Veeam\Veeam_.ps1:71 char:11
+ $Server = Get-VBRServer -name $HostName
+ ~~~~~~~~~~~~~
+ CategoryInfo : NotSpecified: (:) [], Exception
+ FullyQualifiedErrorId : System.Exception
Find-VBRViEntity : Remote connection was terminated. Either re-establish remote connection or use local one, ex.
Connect-VBRServer -Server localhost
At C:\scripts_Veeam\Veeam_.ps1:76 char:9
+ $VM = Find-VBRViEntity -Name $VMName -Server $Server
+ ~~~~~~~~~~~~~~~~
+ CategoryInfo : NotSpecified: (:) [], Exception
+ FullyQualifiedErrorId : System.Exception
Start-VBRZip : Remote connection was terminated. Either re-establish remote connection or use local one, ex.
Connect-VBRServer -Server localhost
At C:\scripts_Veeam\Veeam_.ps1:86 char:19
+ $ZIPSession = Start-VBRZip -Entity $VM -Folder $Directory -Compre ...
+ ~~~~~~~~~~~~
+ CategoryInfo : NotSpecified: (:) [], Exception
+ FullyQualifiedErrorId : System.Exception
You cannot call a method on a null-valued expression.
At C:\scripts_Veeam\Veeam_.ps1:91 char:5
+ $TaskSessions = $ZIPSession.GetTaskSessions().logger.getlog().upd ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : InvalidOperation: (:) [], RuntimeException
+ FullyQualifiedErrorId : InvokeMethodOnNull