PowerShell script exchange
Post Reply
admd
Service Provider
Posts: 25
Liked: 6 times
Joined: Feb 22, 2024 1:37 pm
Contact:

Connection to the server was successfully established [VBO 365]

Post by admd »

Hello and good morning :?

I was wondering, since we updated to Veeam 365 8.0, when we run the command locally : Connect-VBOServer
We get this welcoming message : Connection to the server was successfully established

And I haven't found a way to get rid of it,
I tried the parameters -ErrorAction or -InformationAction but nothing worked.

Thanks all for your help !

Edit : Wrong cmdlet
Mildur
Product Manager
Posts: 10506
Liked: 2817 times
Joined: May 13, 2017 4:51 pm
Full Name: Fabian K.
Location: Switzerland
Contact:

Re: Connection to the server was successfully established [VBO 365]

Post by Mildur »

Hi admd

Are we talking about Veeam Backup for Microsoft 365 or Veeam Backup & Replication?
The command you have posted is for VBR, but the subject of your topic is for VB365?

May I also ask, why do you need to hide it?

Best,
Fabian
Product Management Analyst @ Veeam Software
admd
Service Provider
Posts: 25
Liked: 6 times
Joined: Feb 22, 2024 1:37 pm
Contact:

Re: Connection to the server was successfully established [VBO 365]

Post by admd »

Hello Fabian,

Yes sorry my bad I corrected it. We are talking about Veeam 365.
We use the output to generate alerts on our ticketing system.

Regards,
Mildur
Product Manager
Posts: 10506
Liked: 2817 times
Joined: May 13, 2017 4:51 pm
Full Name: Fabian K.
Location: Switzerland
Contact:

Re: Connection to the server was successfully established [VBO 365]

Post by Mildur »

Hi Admd

Thank you for confirming.
After a short test run in our lab, we couldn't find a way to "hide" it. I need to collect more information on how it works in the code before coming back with a solution.

In the meantime, you might consider using general PowerShell cmdlets to remove the string "Connection to the server was successfully established" from your variable/array before sending the output to the ticketing system.

Code: Select all

$CleanedAlert = $Alert -replace 'Connection to the server was successfully established', ''
If possible, could you maybe share your script with me (DM or here).

Best,
Fabian
Product Management Analyst @ Veeam Software
admd
Service Provider
Posts: 25
Liked: 6 times
Joined: Feb 22, 2024 1:37 pm
Contact:

Re: Connection to the server was successfully established [VBO 365]

Post by admd » 1 person likes this post

Hello Fabian,

I will try that.
I sent the script in your DM.

Thanks :)
admd
Service Provider
Posts: 25
Liked: 6 times
Joined: Feb 22, 2024 1:37 pm
Contact:

Re: Connection to the server was successfully established [VBO 365]

Post by admd »

Hello Fabian,

As we discussed in private, my script does run locally on the server.
And as you said there is a simple solution ; I can stop using the "Connect-VBOServer -Server 'localhost'" to not have the welcoming message.
I tried today and my output was the same as before :wink:

Thanks again.
Post Reply

Who is online

Users browsing this forum: No registered users and 6 guests