Hi, I'm trying to utilize the SolarWinds SWIS powershell module but I'm having trouble when trying to run the following query and I'm having trouble finding any articles that explain what is happening or how to resolve it. If anyone can shed any light on this issue it would be much appreciated!
$OrionServer = "SOLPOL.domain.local"
$Username = "admin-swis-powershell"
$Password = "password"
$swis = Connect-Swis -Hostname $OrionServer -Username $Username -Password $Password
$query = "
SELECT
Nodes.Caption
, Nodes.URI
FROM Orion.Nodes AS Nodes
"
$nodes = Get-SwisData -SwisConnection $swis -Query $query
Get-SwisData : Identity check failed for outgoing message. The expected DNS identity of the remote endpoint was
'SolarWinds-Orion' but the remote endpoint provided DNS claim 'SOLPOL.domain.local'. If this is a legitimate
remote endpoint, you can fix the problem by explicitly specifying DNS identity 'SOLPOL.domain.local'' as the
Identity property of EndpointAddress when creating channel proxy.
At line:1 char:10