Hello everyone,
I'm trying to use 'Get-SwisData' to generate a list of Nodes through PowerShell. But I'm receiving an error when running 'Get-SwisData' and would appreciate any information on the error and a possible solution. Thank you!
$Swis = Connect-Swis -Credential $Cred -Hostname $OrionServerName
Get-SwisData $Swis 'Select DisplayName FROM Orion.Nodes'
Get-SwisData : Could not connect to net.tcp://xxxxxxxxx.com:17777/SolarWinds/InformationService/v3/Orion/ssl.
The connection attempt lasted for a time span of 00:00:02.1543323. TCP error code 10061: No connection could be made
because the target machine actively refused it X.X.X.X:17777.
At line:1 char:1
+ Get-SwisData $swis ‘SELECT DisplayName FROM Orion.Nodes’
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : NotSpecified: (:) [Get-SwisData], EndpointNotFoundException
+ FullyQualifiedErrorId : System.ServiceModel.EndpointNotFoundException,SwisPowerShell.GetSwisData