Hello,
what is the best powershell commands to get the following data using powershell
Backup Job Details
1. Backup Job Next Run
2. Restore points
3. failure message of a job is occurs
4. Summary
i. Duration
ii. Processing Rate
iii. Bottle Neck
5. Data
i. Processed
ii. Read
iii. Transferred
Show the backup status of the VM
1. VMName
2. Restore points count.
3. VM backup Status
-
- Service Provider
- Posts: 56
- Liked: 2 times
- Joined: Dec 10, 2021 6:35 pm
- Full Name: Koushik Polsana
- Contact:
-
- Veeam Software
- Posts: 693
- Liked: 152 times
- Joined: Jan 22, 2015 2:39 pm
- Full Name: Stefan Renner
- Location: Germany
- Contact:
Re: Powershell commands to get the following info
Hi,
Check out the GitHub Repo, there are plenty of examples.
https://github.com/VeeamHub/powershell
Thanks
Check out the GitHub Repo, there are plenty of examples.
https://github.com/VeeamHub/powershell
Thanks
Stefan Renner
Veeam PMA
Veeam PMA
-
- Veeam Software
- Posts: 2346
- Liked: 556 times
- Joined: Jun 28, 2016 12:12 pm
- Contact:
Re: Powershell commands to get the following info
For your second request, consider the basic code I wrote here to pull information on Restore Points: post478296.html#p478296
The first request I strongly suggest search a bit on the forums and on Stefan's link as it's a pretty common question.
The simple answer is you need to use
Get-VBRBackupSession
Get-VBRComputerBackupSession
Get-VBRTaskSession
To pull session information; the job sessions will have the general statuses and what is backed up, and Task session objects will have the data transferred amounts.
That part is quite easy to pull, but how you want it formatted is the main point, and I don't think anyone can tell except for you and your team how you want the information formatted.
I recommend play with those cmdlets and see what properties they have, and check out examples on the forums by searching "Session Report" or something like that.
The first request I strongly suggest search a bit on the forums and on Stefan's link as it's a pretty common question.
The simple answer is you need to use
Get-VBRBackupSession
Get-VBRComputerBackupSession
Get-VBRTaskSession
To pull session information; the job sessions will have the general statuses and what is backed up, and Task session objects will have the data transferred amounts.
That part is quite easy to pull, but how you want it formatted is the main point, and I don't think anyone can tell except for you and your team how you want the information formatted.
I recommend play with those cmdlets and see what properties they have, and check out examples on the forums by searching "Session Report" or something like that.
David Domask | Product Management: Principal Analyst
Who is online
Users browsing this forum: No registered users and 10 guests