Hi there,
I browsed the PowerShell part of the forum for a time to see if I could find a relevant post, but I can't seem to find something applicable to what i want to do.
We are taking our backups on a per datastore basis. That means each of our schduled jobs apply to a datastore.
In Veeam the datastore is the only object in the list of "VMs" in the job, but I need to know the size of each backup on each VM from the datastore.
I tried something like this:
$objInJob= (Get-VBRBackup -name "<NAME>").Get-Objects()
foreach($obj in $objInJob) { $obj.GetItem() }
This resulted in getting each of the VM in the datastore/Scheduled job.
But I can't find any way to get the final backupsize of each of the VMs I get from this list.
Any ideas of how to get this, or maybe other cmd-let to use?
Thanks!
-
- Influencer
- Posts: 10
- Liked: never
- Joined: Jun 18, 2012 1:02 pm
- Full Name: Karl Wallenius
- Contact:
-
- Veteran
- Posts: 282
- Liked: 26 times
- Joined: Nov 10, 2010 6:51 pm
- Full Name: Seth Bartlett
- Contact:
Re: PowerShell Script/Command line to get additional info
There is no way to get this size out of the GUI either. All backup jobs are placed into one set of files and you can see the backup/data size of the whole set, but not individual VMs.
Skype: Sethbartlett88 - Make sure to label who you are and why you want to add me
Twitter: @sethbartlett
If my post was helpful, please like it. Sometimes twitter is quicker to hit me up if you need me.
Twitter: @sethbartlett
If my post was helpful, please like it. Sometimes twitter is quicker to hit me up if you need me.
-
- Influencer
- Posts: 10
- Liked: never
- Joined: Jun 18, 2012 1:02 pm
- Full Name: Karl Wallenius
- Contact:
Re: PowerShell Script/Command line to get additional info
Thanks a bunch Sethbartlett!
At least now I know and won't go deeper with Get-Member.
At least now I know and won't go deeper with Get-Member.
Who is online
Users browsing this forum: Asahi and 15 guests