PowerShell script exchange
Post Reply
FluxCapMalfunction
Novice
Posts: 3
Liked: never
Joined: Apr 11, 2014 4:49 pm
Full Name: FluxCapMalfunction
Contact:

List of Retention Policy per Job

Post by FluxCapMalfunction »

Hello,

I was wondering if there is a powershell/built in feature in Veeam where i can retrieve the retention policy for each jobs. We have number of jobs setup and it would be quite a manual process to go through the list one by one.

Thank you.
veremin
Product Manager
Posts: 20410
Liked: 2299 times
Joined: Oct 26, 2012 3:28 pm
Full Name: Vladimir Eremin
Contact:

Re: List of Retention Policy per Job

Post by veremin »

I don't have access to the PS console at the moment. But if my memory serves me well, the retention settings are located under "Options.RootNode.retaincycles".

Code: Select all

$Job = Get-VBRJob -name "Name of your Job"
$Job.Options.RootNode.retaincycles 
Thanks.
Post Reply

Who is online

Users browsing this forum: No registered users and 11 guests