-
- Novice
- Posts: 7
- Liked: never
- Joined: Sep 16, 2025 7:46 pm
- Full Name: Jose R
- Contact:
Reboot Required report
Hello,
we have deployed the veeam agent to a bunch of computers. I would like to get a report of all the machines that are pending reboot. Is there a way to either do it via a veeam one report or powershell script?
Thanks.
we have deployed the veeam agent to a bunch of computers. I would like to get a report of all the machines that are pending reboot. Is there a way to either do it via a veeam one report or powershell script?
Thanks.
-
- Veeam Software
- Posts: 831
- Liked: 223 times
- Joined: Nov 01, 2016 11:26 am
- Contact:
Re: Reboot Required report
Hello Jose,
I just wanted to clarify. Is the reboot required by the agent installation, or are you referring to other cases, such as Windows updates or similar situations?
Thanks
I just wanted to clarify. Is the reboot required by the agent installation, or are you referring to other cases, such as Windows updates or similar situations?
Thanks
-
- Novice
- Posts: 7
- Liked: never
- Joined: Sep 16, 2025 7:46 pm
- Full Name: Jose R
- Contact:
Re: Reboot Required report
Hello, I know that a reboot is required. I just need to be able to identify the list of computers that the agent has installed and is pending a reboot. We've created multiple protection groups with many machines. We've then pushed the agent to all those machines, i see that reboot is required, which we know it's for the agent to complete it's install for change blocks, i need a way to get a list of all those machines that are showing the pending reboot so i can reach out to those user's to reboot their machines.
-
- Veeam Software
- Posts: 831
- Liked: 223 times
- Joined: Nov 01, 2016 11:26 am
- Contact:
Re: Reboot Required report
Hello Jose,
I've checked the lab and didn't find that property collected. I'll add a requirements to improve that.
Meanwhile the next PowerShell script helped to find all agents in my lab. Give it a try
Thanks
I've checked the lab and didn't find that property collected. I'll add a requirements to improve that.
Meanwhile the next PowerShell script helped to find all agents in my lab. Give it a try
Code: Select all
Get-VBRDiscoveredComputer | Where-Object { $_.AgentStatus -eq "UpgradeAvailable" } |
Select-Object Name, AgentStatus, AgentVersion
-
- Novice
- Posts: 7
- Liked: never
- Joined: Sep 16, 2025 7:46 pm
- Full Name: Jose R
- Contact:
Re: Reboot Required report
Well that'll be for agent upgrade, which we don't need as we are pushing the latest. Does VBR not have the agent status somewhere in the database for the Backup Agent status with "Reboot required"?
-
- Veeam Software
- Posts: 831
- Liked: 223 times
- Joined: Nov 01, 2016 11:26 am
- Contact:
Re: Reboot Required report
Hello Jose,
It must be in the same field - AgentStatus. I do not have a live lab with the "Reboot required" status, so I used "upgrade". Please just change the "where" clause to "-like "reboot"
Everything you see in the console is in the database but working with the database directly is not recommended, in general.
It must be in the same field - AgentStatus. I do not have a live lab with the "Reboot required" status, so I used "upgrade". Please just change the "where" clause to "-like "reboot"
Code: Select all
Get-VBRDiscoveredComputer | Where-Object { $_.AgentStatus -like "reboot" } |
Select-Object Name, AgentStatus, AgentVersion
-
- Novice
- Posts: 7
- Liked: never
- Joined: Sep 16, 2025 7:46 pm
- Full Name: Jose R
- Contact:
Re: Reboot Required report
I was able to use it to get those machines that have unknown status which is also something i was looking for.
Get-VBRDiscoveredComputer | Where-Object { $_.AgentStatus -eq "Unknown" } |
Select-Object Name, AgentStatus
One other thing, even though the Backup Agent status in VBR is showing as "Reboot required" when I use the script you provided to get one of those machine that is showing the reboot it comes back with agent status as installed.
Get-VBRDiscoveredComputer | Where-Object { $_.Name -eq "COMPUTER_NAME HERE" } |
Select-Object Name, AgentStatus
Get-VBRDiscoveredComputer | Where-Object { $_.AgentStatus -eq "Unknown" } |
Select-Object Name, AgentStatus
One other thing, even though the Backup Agent status in VBR is showing as "Reboot required" when I use the script you provided to get one of those machine that is showing the reboot it comes back with agent status as installed.
Get-VBRDiscoveredComputer | Where-Object { $_.Name -eq "COMPUTER_NAME HERE" } |
Select-Object Name, AgentStatus
-
- Novice
- Posts: 7
- Liked: never
- Joined: Sep 16, 2025 7:46 pm
- Full Name: Jose R
- Contact:
Re: Reboot Required report
That didn't show anything, i think it is because the agent is installed just pending reboot. But within VBR is shows as Reboot required.
-
- Veeam Software
- Posts: 831
- Liked: 223 times
- Joined: Nov 01, 2016 11:26 am
- Contact:
Re: Reboot Required report
Hello Jose,
The same cmdlet shouldn't return different values for sure.
Just in case, what is the exact version of VBR? I will check it with QA. Maybe there is another string we should use.
Thanks
The same cmdlet shouldn't return different values for sure.
Just in case, what is the exact version of VBR? I will check it with QA. Maybe there is another string we should use.
Thanks
-
- Novice
- Posts: 7
- Liked: never
- Joined: Sep 16, 2025 7:46 pm
- Full Name: Jose R
- Contact:
Re: Reboot Required report
current version is : 12.3.2.3617
agent pushed is : 6.3.2.1205
agent pushed is : 6.3.2.1205
-
- Veeam Software
- Posts: 831
- Liked: 223 times
- Joined: Nov 01, 2016 11:26 am
- Contact:
Re: Reboot Required report
Hello Jose,
It seems I found it. While VBR shows all statuses in the one column, backup agent separate reboot from the agent status. So the structure should look like this
Thanks
It seems I found it. While VBR shows all statuses in the one column, backup agent separate reboot from the agent status. So the structure should look like this
Please check thisState : Online
AgentStatus : Installed
AgentVersion : 6.3.2.1205
DriverStatus : Installed
DriverVersion : 12.0.0.75
RebootRequired : True
Code: Select all
Get-VBRDiscoveredComputer | Where-Object { $_.RebootRequired -eq "True" } |
Select-Object Name, RebootRequired
-
- Novice
- Posts: 7
- Liked: never
- Joined: Sep 16, 2025 7:46 pm
- Full Name: Jose R
- Contact:
Re: Reboot Required report
That did it. Thank you so much.
Who is online
Users browsing this forum: No registered users and 2 guests