Thanks for your answer.
That means I need to know which is my NATS server. This information is not store in Veeam configuration somewhere I can query with powershell ?
If it's local, it's ok with your command but if it's not, how can I retrive the NATS servers ?
Thanks for your answer,
I finally find it too on the Veeam KB here : https://www.veeam.com/kb4742
However it's a different file than the one you specified. Could you explain me the difference maybe and if both will contains the same information about the NATS server ?
#Path to Veeam 365 configuration file
$Path = "C:\ProgramData\Veeam\Backup365\Config.xml"
#Import file as XML
$XMLfile = [xml] (Get-Content -Path $Path)
#Get the XML section that contains the NATS server name
$String = $XMLfile.veeam.Archiver.Server.JetStreamConnectionString
# Use reget to get the server name between the character @ and :
if ($String -match '@([^:]+):') {
$result = $matches[1]
}
[PSCustomObject]@{
Server = $result
Version = $XMLfile.veeam.Archiver.Server.ProductVersion
}