PowerShell script exchange
Post Reply
Leahcim
Influencer
Posts: 12
Liked: never
Joined: Feb 07, 2017 10:31 am
Full Name: Michael fenske
Contact:

Get-VBRRestorePoint and HasSql and HasOracle

Post by Leahcim »

Hi @all,
over the command Get-VBRRestorePoint I become a list with all stored Jobs with different values. Can every one give me the complete command that I only see the Jobs which have the values HasSql or HasOracle = true. I Need a list where I see only the SQL and Oracle backups. Can everyoune help me ?


Thanks
Michael
veremin
Product Manager
Posts: 20284
Liked: 2258 times
Joined: Oct 26, 2012 3:28 pm
Full Name: Vladimir Eremin
Contact:

Re: Get-VBRRestorePoint and HasSql and HasOracle

Post by veremin »

The following example might answer your requirements:

Code: Select all

Asnp VeeamPSSnapin
Get-VBRRestorePoint | where {$_.HasOracle -eq $True -or $_.HasSQL -eq $True} | select {$_.FindSourceJob().name} -Unique
Thanks.
Post Reply

Who is online

Users browsing this forum: No registered users and 10 guests