PowerShell script exchange
Post Reply
malaroch
Novice
Posts: 4
Liked: never
Joined: May 18, 2018 1:50 pm
Full Name: Marion Larochelle
Contact:

PowerShell Scripts for System Scans

Post by malaroch »

I would like to be able to get notifications if any of the periodic System Scans run on the VBR Backup and Storage infrastructure come back with an error. I was told by Veeam Support (Case #03177244) that currently there is no easy way for customer to get these notifications. Does any one have any suggestions with regards to gaining access the results of these System Scans
veremin
Product Manager
Posts: 20415
Liked: 2302 times
Joined: Oct 26, 2012 3:28 pm
Full Name: Vladimir Eremin
Contact:

Re: PowerShell Scripts for System Scans

Post by veremin »

You cannot get those session via PowerShell, unless you initiate rescan within a script.

So, as a workaround you can rescan particular component via PowerShell, assign resulting session to a variable and check its status afterwards. Something similar might work:

Code: Select all

Asnp VeeamPSSnapin
$Server = Get-VBRServer -name "Name of component"
$Session = $Server | Rescan-VBREntity -Wait
$Session.Result
Thanks.
malaroch
Novice
Posts: 4
Liked: never
Joined: May 18, 2018 1:50 pm
Full Name: Marion Larochelle
Contact:

Re: PowerShell Scripts for System Scans

Post by malaroch »

Thank you for the reply and information. It would be very helpful if Veeam would allow email notification for failed System Scans to be configured directly in the VBR GUI. However, if this is the best solution available I will try it out!
malaroch
Novice
Posts: 4
Liked: never
Joined: May 18, 2018 1:50 pm
Full Name: Marion Larochelle
Contact:

Re: PowerShell Scripts for System Scans

Post by malaroch »

One more question:
I do not see any way to Rescan-VBREntity which happens to be a Cisco HyperFlex Storage.
Is there a specical Get category for Cisco Hyperflex Storage?
If I do a Rescan -AllHosts the Hyperflex is not included in this scan.
veremin
Product Manager
Posts: 20415
Liked: 2302 times
Joined: Oct 26, 2012 3:28 pm
Full Name: Vladimir Eremin
Contact:

Re: PowerShell Scripts for System Scans

Post by veremin »

Currently we don't have any cmdlets to work with this storage system. Thanks.
malaroch
Novice
Posts: 4
Liked: never
Joined: May 18, 2018 1:50 pm
Full Name: Marion Larochelle
Contact:

Re: PowerShell Scripts for System Scans

Post by malaroch »

Thank you for your response
veremin
Product Manager
Posts: 20415
Liked: 2302 times
Joined: Oct 26, 2012 3:28 pm
Full Name: Vladimir Eremin
Contact:

Re: PowerShell Scripts for System Scans

Post by veremin »

Thank you for raising this issue. We've just increased priority for this feature internally. So, one of the next product updates (besides Update 4) should have it implemented. Thanks.
Post Reply

Who is online

Users browsing this forum: No registered users and 7 guests