PowerShell script exchange
Post Reply
GopikannanGopal
Lurker
Posts: 2
Liked: never
Joined: Mar 05, 2020 12:10 pm
Full Name: GopikannanGopal
Contact:

Backedup Size Report

Post by GopikannanGopal »

Hi All,

Looking for Powershell script or RESTFull API which was used to generate the total size of backups stored in the last 1 month
oleg.feoktistov
Veeam Software
Posts: 1918
Liked: 636 times
Joined: Sep 25, 2019 10:32 am
Full Name: Oleg Feoktistov
Contact:

Re: Backedup Size Report

Post by oleg.feoktistov »

Hi,

Check the script by @mickeybyte in this post.
Report, generated in C:\temp\Veeam-Backup-Report.html, should contain all the necessary info you might need (backup status, size etc.).
Make sure to specify a number of days in $days variable at the beginning of the script.

Thanks,
Oleg
GopikannanGopal
Lurker
Posts: 2
Liked: never
Joined: Mar 05, 2020 12:10 pm
Full Name: GopikannanGopal
Contact:

Re: Backedup Size Report

Post by GopikannanGopal »

Thanks Oleg. I am new to script world, Not sure how to run this script. Could you please guide me
oleg.feoktistov
Veeam Software
Posts: 1918
Liked: 636 times
Joined: Sep 25, 2019 10:32 am
Full Name: Oleg Feoktistov
Contact:

Re: Backedup Size Report

Post by oleg.feoktistov » 1 person likes this post

Sure, either copy the script to Script Pane of Windows Powershell ISE app (make sure Script Pane is enabled. If not - enable on Ctrl + R), save it and press F5 to execute or
else save the script, go to powershell.exe and execute:

Code: Select all

PS C:\Windows\System32> ./<path-to-the-script>\SavedScript.ps1
You should then find your report in C:\temp\Veeam-Backup-Report.html
Post Reply

Who is online

Users browsing this forum: No registered users and 17 guests