PowerShell script exchange
Post Reply
serkan.sevincoglu
Lurker
Posts: 1
Liked: never
Joined: Sep 10, 2025 11:55 am
Full Name: SERKAN SEVINCOGLU
Contact:

GFS information

Post by serkan.sevincoglu »

Hello,
On Veeam, I am trying to retrieve the GFS (Grandfather-Father-Son) information of a backup job using PowerShell. I was able to pull most of the details such as Job Name, Retention, and whether the backup is Active or Synthetic. However, I cannot find a way to extract the GFS information.

Thank You
Mildur
Product Manager
Posts: 10851
Liked: 2958 times
Joined: May 13, 2017 4:51 pm
Full Name: Fabian K.
Location: Switzerland
Contact:

Re: GFS information

Post by Mildur »

Hi Serkan

I couldn't find a direct cmdlet to retrieve this setting.
For now, you can use the following steps to get the GFS settings for a single job:

Code: Select all

$job = Get-VBRJob -Name BJ-Nano 
$job.Options.GfsPolicy.IsEnabled
$job.Options.GfsPolicy.Weekly
$job.Options.GfsPolicy.Monthly
$job.Options.GfsPolicy.Yearly
$job.Options.GfsPolicy.weekly
Best,
Fabian
Product Management Analyst @ Veeam Software
Post Reply

Who is online

Users browsing this forum: No registered users and 6 guests