-
- Novice
- Posts: 4
- Liked: never
- Joined: Mar 23, 2022 11:55 am
- Full Name: NGMS-IRIDEOS-BCK
Powershell script request to get info about VMs and jobs
Good afternoon all,
we would need a script to run in Windows powershell to extrapolate the following information from the our Veeam environments:
Backup Server (name or hostname)
Backup Software Version
Server/VM Hostname
Server/VM Name
Last Successful Backup
Scheduling (weekly/type) Or Manual
Active Yes/no - Status job
For each environment practically the script should give us which VMs / servers are backed up and the various info reported above.
We have multiple Veeam environments; would it be possible to have a "global"/uniform script for all environments?
Many thanks for all.
Kind regards.
Stefano.
we would need a script to run in Windows powershell to extrapolate the following information from the our Veeam environments:
Backup Server (name or hostname)
Backup Software Version
Server/VM Hostname
Server/VM Name
Last Successful Backup
Scheduling (weekly/type) Or Manual
Active Yes/no - Status job
For each environment practically the script should give us which VMs / servers are backed up and the various info reported above.
We have multiple Veeam environments; would it be possible to have a "global"/uniform script for all environments?
Many thanks for all.
Kind regards.
Stefano.
-
- Veeam Software
- Posts: 2123
- Liked: 513 times
- Joined: Jun 28, 2016 12:12 pm
- Contact:
Re: Powershell script request to get info about VMs and jobs
Hey Stefano,
Not impossible, but maybe you would prefer to use Veeam One? It has all these reports built in and would save you a lot of time and avoid scripting altogether.
Else check the MyVeeamReport thread and see if that works for you: powershell-f26/my-veeam-report-v9-5-1-t47058-150.html
I strongly advise you probably want Veeam One, or to find someone to maintain such a script for you.
Not impossible, but maybe you would prefer to use Veeam One? It has all these reports built in and would save you a lot of time and avoid scripting altogether.
Else check the MyVeeamReport thread and see if that works for you: powershell-f26/my-veeam-report-v9-5-1-t47058-150.html
I strongly advise you probably want Veeam One, or to find someone to maintain such a script for you.
David Domask | Product Management: Principal Analyst
-
- Novice
- Posts: 4
- Liked: never
- Joined: Mar 23, 2022 11:55 am
- Full Name: NGMS-IRIDEOS-BCK
Re: Powershell script request to get info about VMs and jobs
Good morning David,
thanks a lot for the feedback; we will check MyVeeamReport thread soon.
Unfortunately we don't have the Veeam ONE products because we have only the Veeam backup & replication product not suite.
Would the script take away to you a lot of work effort? is it a complicated thing?
We await your feeedback.
Thanks a lot for all for now.
Kind regards.
thanks a lot for the feedback; we will check MyVeeamReport thread soon.
Unfortunately we don't have the Veeam ONE products because we have only the Veeam backup & replication product not suite.
Would the script take away to you a lot of work effort? is it a complicated thing?
We await your feeedback.
Thanks a lot for all for now.
Kind regards.
-
- Veeam Software
- Posts: 2123
- Liked: 513 times
- Joined: Jun 28, 2016 12:12 pm
- Contact:
Re: Powershell script request to get info about VMs and jobs
Sure, happy to help.
You might try the code from here: post446994.html#p446994
I hope my explanation on how to build the CSV data is clear enough for you and your team.
The core code I have there will get you backup stats, but you and your team will likely need to play with it a bit to add the parameters you want to see.
How many VBR servers do you have that you need a special report like this for so many? If it's few enough that Veeam One Community edition works, I'd give that a shot and see if it's sufficient.
The script itself is not complex, it's just about time to write it, and I'd ask you and your team first try to use the above resources to build your own script and ask for help on parts you struggle with.
Getting the objects in job is simple with the Get-VBRJobObject cmdlet, which will tell you VM names + hosts, and all the other elements I'd ask you play with a bit to find
You might try the code from here: post446994.html#p446994
I hope my explanation on how to build the CSV data is clear enough for you and your team.
The core code I have there will get you backup stats, but you and your team will likely need to play with it a bit to add the parameters you want to see.
How many VBR servers do you have that you need a special report like this for so many? If it's few enough that Veeam One Community edition works, I'd give that a shot and see if it's sufficient.
The script itself is not complex, it's just about time to write it, and I'd ask you and your team first try to use the above resources to build your own script and ask for help on parts you struggle with.
Getting the objects in job is simple with the Get-VBRJobObject cmdlet, which will tell you VM names + hosts, and all the other elements I'd ask you play with a bit to find
David Domask | Product Management: Principal Analyst
-
- Novice
- Posts: 4
- Liked: never
- Joined: Mar 23, 2022 11:55 am
- Full Name: NGMS-IRIDEOS-BCK
Re: Powershell script request to get info about VMs and jobs
Good morning David,
thanks for all; just a question, are the report my Veeam Report v9.5.1 and its script useful for whichever Versions of Veeam (9, 9.5, 10, 11 ecc) or only for Veeam 9.5?
Meanwhile we have installed Veeam one community edition (free) and we're looking at
We await yur feedback
Thanks
Kind regards.
Stefano
thanks for all; just a question, are the report my Veeam Report v9.5.1 and its script useful for whichever Versions of Veeam (9, 9.5, 10, 11 ecc) or only for Veeam 9.5?
Meanwhile we have installed Veeam one community edition (free) and we're looking at
We await yur feedback
Thanks
Kind regards.
Stefano
-
- Veeam Software
- Posts: 2123
- Liked: 513 times
- Joined: Jun 28, 2016 12:12 pm
- Contact:
Re: Powershell script request to get info about VMs and jobs
Hi Stefano,
The thread is community maintained, and community members have added fixes for v11. Check later in the thread
The thread is community maintained, and community members have added fixes for v11. Check later in the thread
David Domask | Product Management: Principal Analyst
-
- Novice
- Posts: 4
- Liked: never
- Joined: Mar 23, 2022 11:55 am
- Full Name: NGMS-IRIDEOS-BCK
Re: Powershell script request to get info about VMs and jobs
Good evening David,
we took as an example your report Veeam Report v9.5.1 and its script; then we made the changes we needed and we were able to extrapolate the requested data.
We really thank you very much for the precious help given to us.
Thank you
Kind regards.
we took as an example your report Veeam Report v9.5.1 and its script; then we made the changes we needed and we were able to extrapolate the requested data.
We really thank you very much for the precious help given to us.
Thank you
Kind regards.
-
- Veeam Software
- Posts: 2123
- Liked: 513 times
- Joined: Jun 28, 2016 12:12 pm
- Contact:
Re: Powershell script request to get info about VMs and jobs
I'm really glad I could get you in the right direction Stefano!
Always welcome, good luck!
Always welcome, good luck!
David Domask | Product Management: Principal Analyst
Who is online
Users browsing this forum: No registered users and 14 guests