PowerShell script exchange
Post Reply
nd39475
Enthusiast
Posts: 64
Liked: 9 times
Joined: May 05, 2016 6:28 pm
Full Name: n d
Contact:

Connect-VBRServer unexepected behavior in resepect to password/credentials

Post by nd39475 »

Code: Select all

Connect-VBRServer -server veeamServer.domain.com -port 9392
↑ no longer connects using my environment's user-session credentials automatically.

Code: Select all

Connect-VBRServer -server veeamServer.domain.com -port 9392 -User myusername
↑ echos password in plain-text, and also does not successfully connect.

Code: Select all

cmdlet Connect-VBRServer at command pipeline position 1
Supply values for the following parameters:
Password: typingmypassword
Connect-VBRServer : PowerShell client update environment initialization failed: Failed to connect to Veeam Backup & Replication server:
The logon attempt failed
Execution environment cannot be initialized to Remote
At line:1 char:1
+ Connect-VBRServer -server veeamServer.domain.com -port 9392 -User m ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : InvalidOperation: (:) [Connect-VBRServer], AggregateException
    + FullyQualifiedErrorId : UpdateCheckerErrorId,Veeam.Backup.PowerShell.Cmdlets.ConnectVBRServer

the only thing that works now is

Code: Select all

Connect-VBRServer -server veeamServer.domain.com -port 9392 -Credential $(Get-Credential)
↑ which is okay, but different.
david.domask
Veeam Software
Posts: 2744
Liked: 630 times
Joined: Jun 28, 2016 12:12 pm
Contact:

Re: Connect-VBRServer unexepected behavior in resepect to password/credentials

Post by david.domask »

Hi nd39475,

I was not able to reproduce with my 12.2 server and a remote console -- the error provided sounds like a pretty standard connection issue, so if the working method you have isn't suitable, please open a Support Case and allow Veeam Support time to review the issue. Be sure to include logs for Support to review. (Use the 3rd radio option, select the Veeam Server from the host list)

Please share your case number here if you create a case.

Thanks!
David Domask | Product Management: Principal Analyst
Post Reply

Who is online

Users browsing this forum: No registered users and 5 guests