Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Orion.ADM.NodeInventory.Disable Not Working in SwisPowerShell, Works in REST/SWQL Studio #312

Open
martincrothers opened this issue Mar 3, 2022 · 0 comments

Comments

@martincrothers
Copy link

I'm experiencing an issue with the PowerShell module using the Invoke-SwisVerb commandlet.
This seems to be similar to issue #234

I am trying to perform the following:
Invoke-SwisVerb -SwisConnection $swis -EntityName "Orion.ADM.NodeInventory" -Verb "Disable" -Arguments @{nodeIds = @(6414)}
I get a result returned that appears to indicate a successful result:
powershell_result
but it doesn't actually apply the change.

It works successfully if I use SWQL Studio, or even if I perform via cURL/REST:
SWQL_Studio
postman

Attempting it this way causes an error:
Invoke-SwisVerb -SwisConnection $swis -EntityName "Orion.ADM.NodeInventory" -Verb "Disable" -Arguments @(6414)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant