7 Replies Latest reply on Apr 24, 2015 10:13 AM by tdanner

    Remove-SwisObject issue. Another Upgrade from NMP 11.0.1 to 11.5 bug?

    bjonescg

      so this code and error I am getting.  I'm pretty sure that -SwisConnection $swis is not the issue since I can query the database using this connection.

       

      $SWNodeURI = swis://[my server]/Orion/Orion.Nodes/NodeID=4332

       

      PS C:\Users\[blahblahblah]> Remove-SwisObject -SwisConnection $swis -Uri $SWNodeURI

      Remove-SwisObject : Object reference not set to an instance of an object.

      At line:1 char:1

      + Remove-SwisObject -SwisConnection $swis -Uri $SWNodeURI

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

          + CategoryInfo          : InvalidOperation: (:) [Remove-SwisObject], Fault

         Exception`

          + FullyQualifiedErrorId : SwisError,SwisPowerShell.RemoveSwisObject

       

       

       

      Any Ideas? I know it worked before our upgrade.  Thank you for any help.