PowerShell script exchange
Post Reply
RSMDBA
Lurker
Posts: 2
Liked: never
Joined: Aug 28, 2017 7:40 pm
Full Name: Brian Valleroy
Contact:

Guest Processing - SQL Script

Post by RSMDBA »

I was curious if anyone has come up with a SQL Script or maybe PowerShell for determining which SQL Servers Jobs have guest processing enabled? I am looking for an easier way than going through every job/server.

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

Re: Guest Processing - SQL Script

Post by veremin »

Do you only need to check whether application aware image processing is enabled on job level (Guest processing -> Enable Application-aware Processing) or some information from "applications.." tab is also needed? Thanks.
RSMDBA
Lurker
Posts: 2
Liked: never
Joined: Aug 28, 2017 7:40 pm
Full Name: Brian Valleroy
Contact:

Re: Guest Processing - SQL Script

Post by RSMDBA »

I am looking for a way to quickly see which servers have (Job Name -> Server -> Restore Application Items -> Microsoft SQL Server) enabled. I looked around the SQL Database for a table field and didn't see anything.


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

Re: Guest Processing - SQL Script

Post by veremin »

The following one-liner should give you some ideas:

Code: Select all

asnp VeeamPssnapin
Get-VBRBackup |  where {$_.Jobtype -eq "Backup"}| Get-VBRRestorePoint | where {$_.hasSQl -eq $True} | Select name -Unique
Thanks.
Post Reply

Who is online

Users browsing this forum: No registered users and 35 guests