PowerShell script exchange
Post Reply
Cragdoo
Veeam Vanguard
Posts: 548
Liked: 218 times
Joined: Sep 27, 2011 12:17 pm
Full Name: Craig Dalrymple
Location: Scotland
Contact:

Who modified VBR job?

Post by Cragdoo » Jul 22, 2019 1:39 pm

Is anyone aware of a script or indeed a cmdlt that will list any jobs that have been modified in say the last 24 hrs?

Looking to create a crude audit trail. Ideally without having to revert to DB calls to get the information

thanks in advance

Craig

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

Re: Who modified VBR job?

Post by veremin » Jul 22, 2019 2:20 pm

Before we start discussing scripting, may I ask you a question - do you have Veeam ONE deployed? If so, check this report. Thanks!

Cragdoo
Veeam Vanguard
Posts: 548
Liked: 218 times
Joined: Sep 27, 2011 12:17 pm
Full Name: Craig Dalrymple
Location: Scotland
Contact:

Re: Who modified VBR job?

Post by Cragdoo » Jul 22, 2019 3:15 pm

no VeeamOne on site, I had seen the report before, but looking to keep this as simple as possible.

The following has been suggested elsewhere

Code: Select all

$jobs = Get-VBRJob
$jobs | Select Name, @{n='ModifiedBy';e={$PSItem.Info.ModifiedBy.FullName}}

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

Re: Who modified VBR job?

Post by veremin » Jul 22, 2019 6:02 pm

Might work fine, but it shows only the user account that's modified the job (while it does not show modification time). Thanks!

Post Reply

Who is online

Users browsing this forum: No registered users and 4 guests