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

Who modified VBR job?

Post by Cragdoo »

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: 20270
Liked: 2252 times
Joined: Oct 26, 2012 3:28 pm
Full Name: Vladimir Eremin
Contact:

Re: Who modified VBR job?

Post by veremin »

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: 628
Liked: 251 times
Joined: Sep 27, 2011 12:17 pm
Full Name: Craig Dalrymple
Location: Scotland
Contact:

Re: Who modified VBR job?

Post by Cragdoo »

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: 20270
Liked: 2252 times
Joined: Oct 26, 2012 3:28 pm
Full Name: Vladimir Eremin
Contact:

Re: Who modified VBR job?

Post by veremin »

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: Semrush [Bot] and 16 guests