PowerShell script exchange
Post Reply
anilkrram
Lurker
Posts: 2
Liked: 1 time
Joined: Jul 14, 2024 7:10 am
Full Name: Anil Kumar Ram
Contact:

Script to pull the veeam log location

Post by anilkrram »

Hi Team,

I started working on Veeam recently and looking for a script to pull the Veeam log location from all our Veeam Backup server.
We have changed the default location for VBR server but I need to find it through a script as we have many VBR servers.
Kindly help

Regards,
Anil Kumar
david.domask
Veeam Software
Posts: 2607
Liked: 610 times
Joined: Jun 28, 2016 12:12 pm
Contact:

Re: Script to pull the veeam log location

Post by david.domask »

Hi Anil,

I would just read from the registry and look for the registry value on the Veeam server(s) named LoggingPath: https://www.veeam.com/kb1825

Key Location: HKLM\SOFTWARE\Veeam\Veeam Backup and Replication
Value Name: LogDirectory
Value Type: String Value
Value Data: <path_on_server>
Default: C:\ProgramData\Veeam\Backup

The registry key for Veeam is standard, and that should be reliable to parse on each system. Get-ChildItem works with the registry, so I think it's best way to parse this.
David Domask | Product Management: Principal Analyst
anilkrram
Lurker
Posts: 2
Liked: 1 time
Joined: Jul 14, 2024 7:10 am
Full Name: Anil Kumar Ram
Contact:

Re: Script to pull the veeam log location

Post by anilkrram » 1 person likes this post

Hi David,

Thanks for the help. I was able to pull the information

Regards,
Anil Kumar
Post Reply

Who is online

Users browsing this forum: No registered users and 11 guests