This discussion has been locked. The information referenced herein may be inaccurate due to age, software updates, or external references.
You can no longer post new replies to this discussion. If you have a similar question you can start a new discussion in this forum.

Getting Error - PowerShell Query

Hi,

I am getting below error when trying to pull data from query using powershell. Please help

Get-SwisData : An error occurred when verifying security for the message.

Query I am using:

$SwisHost = "xxxxxxx"
$user = "xxxx"
$creds= Get-Credential -UserName $user -Message "Enter password"
$Swis = Connect-Swis -Hostname $SwisHost -Credential $creds

$nodes = Get-SwisData $swis -Query "Select NodeID, Caption FROM Orion.Nodes"
$nodes

Regards

Sandeep

 

Parents Reply Children
No Data