-
-
Notifications
You must be signed in to change notification settings - Fork 43
Open
Description
When trying to connect to the PRTG Server using below PS commands.
PS C:\WINDOWS\system32> $cred = Get-Credential
Connect-PrtgServer -Server "servername" -Credential $cred
below Error occurs.
Connect-PrtgServer : The underlying connection was closed: An unexpected error occurred on a send.
At line:2 char:1
- Connect-PrtgServer -Server "servername" -Credential $cred
-
+ CategoryInfo : NotSpecified: (:) [Connect-PrtgServer], WebException + FullyQualifiedErrorId : System.Net.WebException,PrtgAPI.PowerShell.Cmdlets.ConnectPrtgServer
Also use the -IgnoreSSL parameter along with the syntax and also used below command before running the connec-prtg syntax.
[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12
Note: I used Windows Domain credentials as well as PRTG Passhash.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels