Hi Asif,
A simple example of such script would look like that:Then, you can filter the data out by the relevant date you need:Best regards,
Oleg
A simple example of such script would look like that:
Code:
$backups = Get-VBRBackupforeach ($backup in $backups) { $storages = $backup.GetAllChildrenStorages() foreach ($storage in $storages) { $rp = $storage.GetOibs() $originalSize = [Math]::Round($rp.ApproxSize/1GB, 2) $backupSize = [Math]::Round($storage.Stats.BackupSize/1GB, 2) $rp | select Name, @{n='OriginalSize';e={$originalSize}}, @{n='FileName';e={$storage.PartialPath}}, ` @{n='CreationTime';e={$storage.CreationTime}}, @{n='BackupSize';e={$backupSize}} }}Code:
$currentDate = Get-Date$rp | select Name, @{n='OriginalSize';e={$originalSize}}, @{n='FileName';e={$storage.PartialPath}}, `@{n='CreationTime';e={$storage.CreationTime}}, @{n='BackupSize';e={$backupSize}} | `where {$storage.CreationTime -ge $currentDate.AddMonths(-1) }Oleg
Statistics: Posted by oleg.feoktistov — Dec 04, 2023 11:52 pm










