User Tools

Site Tools


veeam

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
veeam [2016/03/11 14:24] michaelveeam [2022/11/18 12:14] (current) mduersch
Line 7: Line 7:
  
 https://helpcenter.veeam.com/backup/powershell/powershell_remoting.html https://helpcenter.veeam.com/backup/powershell/powershell_remoting.html
 +
 +Create a Profile 
 +
 +   PS C:\> new-item $profile -type file -force
 +       Verzeichnis: WindowsPowerShell
 +   Mode                LastWriteTime     Length Name
 +   ----                -------------     ------ ----
 +   -a---        16.03.2016     09:56          0 Microsoft.PowerShell_profile.ps1
 +
 +
 +Modify $PROFILE
 +
 +    notepad $PROFILE
 +    Add-PSSnapin VeeamPSSnapin
 +
 +
 +Powershell Commands
 +
 +  Connect-VBRserver -User username -Server servername -Port 9392
 +  foreach($job in Get-VBRJob) { Write-Host "Job:", $job.Name; $job.GetObjectsInJob() | foreach { $_.Location } }
 +  Get-VBRJob | ? {$_.GetLastResult() -eq "Failed"}
 +  Get-VBRJob | ? {$_.GetLastResult() -eq "Failed"} | Get-VBRJobObject
 +
 +
 +
 +Suche eine VM und packe Sie mit einen Backup Job:
 +
 +
 +PS C:\Users\opriwBKP> Find-VBRViEntity -Name $vmname
 +
 +
 +
 +
 +
 +
 +
veeam.1457706284.txt.gz · Last modified: 2021/04/24 07:38 (external edit)