cancel
Showing results for 
Search instead for 
Did you mean: 
Create Post
Level 7

network node discovery

I'm looking at the following link for samples of powershell code that will rediscover a node that is already established but just needs to be rediscovered because of enabled interfaces that need to be monitored.  I've tried a couple of the discovery scripts only for them to error out.

https://github.com/solarwinds/OrionSDK/tree/master/Samples/PowerShell

I've tried 

https://github.com/solarwinds/OrionSDK/blob/master/Samples/PowerShell/NPM.DiscoverAndAddInterfacesOn...

 

but get

 

Invoke-SwisVerb : Verb Orion.NPM.Interfaces.DiscoverInterfacesOnNode cannot unpackage parameter 0 of type System.Int32

At C:\Users\bestlhewitt\Documents\test.ps1:28 char:15

+ ... iscovered = Invoke-SwisVerb $swis Orion.NPM.Interfaces DiscoverInterf ...

+                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

    + CategoryInfo          : InvalidOperation: (:) [Invoke-SwisVerb], FaultException`1

    + FullyQualifiedErrorId : SwisError,SwisPowerShell.InvokeSwisVerb

 

Is there another script that would be better for this task?  Any help would be appreciated.

 

Thanks,

 

Lenny

0 Kudos
0 Replies