PowerShell script exchange
- Posts: 94
- Liked: 6 times
- Joined: Apr 21, 2011 7:37 pm
Using powershell, is it possible to pull VM failure or warning info from a job? See screenshot for an example:
- SVP, Product Management
- Posts: 28135
- Liked: 4943 times
- Joined: Jan 01, 2006 1:01 am
- Location: Baar, Switzerland
Hi, no I don't believe this is possible with PowerShell cmdlets we have. Thanks.
- Posts: 282
- Liked: 26 times
- Joined: Nov 10, 2010 6:51 pm
- Full Name: Seth Bartlett
Once again, another non-supported method. But if you really need this data:
Code: Select all
$Info = [Veeam.Backup.Core.CBackupTaskSession]::GetByJobSession($session.id)
You get $Session by doing Get-VBRBackupSession. This will allow you what you need. You can do $info |Gm and then if you want to do any of the methods/properties, you will want to do $info as it is an array of objects.
- Make sure to label who you are and why you want to add me
If my post was helpful, please like it. Sometimes twitter is quicker to hit me up if you need me.
Users browsing this forum: Bing [Bot] and 2 guests