Hi - newbie here.
Read as much as I can about using CRUD.AddWMINode.ps1 but it still fails for me running locally.
I have verified that the hyphens are ok as per another post, and checked the errors for anything else obvious like that
What am I missing please ??
Errors as follows
New-SwisObject : An error occurred when verifying security for the message.
At C:\Temp\CRUD.AddWMINode.ps1:33 char:15
+ ... ewNodeUri = New-SwisObject $swis -EntityType "Orion.Nodes" -Propertie ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : InvalidOperation: (:) [New-SwisObject], MessageSecurityException
+ FullyQualifiedErrorId : SwisError,SwisPowerShell.NewSwisObject
Get-SwisObject : Cannot bind argument to parameter 'Uri' because it is null.
At C:\Temp\CRUD.AddWMINode.ps1:34 char:40
+ $nodeProps = Get-SwisObject $swis -Uri $newNodeUri
+ ~~~~~~~~~~~
+ CategoryInfo : InvalidData: (:) [Get-SwisObject], ParameterBindingValidationException
+ FullyQualifiedErrorId : ParameterArgumentValidationErrorNullNotAllowed,SwisPowerShell.GetSwisObject
Get-SwisData : An error occurred when verifying security for the message.
At C:\Temp\CRUD.AddWMINode.ps1:37 char:17
+ ... dentialId = Get-SwisData $swis "SELECT ID FROM Orion.Credential where ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : InvalidOperation: (:) [Get-SwisData], MessageSecurityException
+ FullyQualifiedErrorId : SwisError,SwisPowerShell.GetSwisData
Can't find the Credential with the provided Credential name 'Solarwinds.NCM'.
At C:\Temp\CRUD.AddWMINode.ps1:39 char:2
+ Throw "Can't find the Credential with the provided Credential nam ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : OperationStopped: (Can't find the ...olarwinds.NCM'.:String) [], RuntimeException
+ FullyQualifiedErrorId : Can't find the Credential with the provided Credential name 'Solarwinds.NCM'.