AnsweredAssumed Answered

UCSD's PowerShell Agent and Invoke-WebRequest/Invoke-RestMethod

Question asked by snoopj123 on Jan 13, 2017
Latest reply on Jan 26, 2017 by snoopj123

Anyone else tried this?  For some reason, I had an account that this WAS working with.  Now, each time I present a script to the PSA that includes either of these two cmdlets to it, I get an error with the PSA (Object reference not set to an instance of an object.  Error 3).  Strangely enough, through PSSessions on the PSAs, I can run the scripts without an issue.  Makes me believe that those two cmdlets are persona non grata when it comes to the PSA.  Really makes for tough integrations with other 3rd parties, especially for those of us that are much much stronger with PowerShell than we are with JavaScript.

 

Now, if this is in fact as designed, I'd really REALLY love for it to actually show up in the documentation.  Otherwise, you might have people (like myself) trying to figure out what the **** to do with 800-1000 lines of code we've written for various functionality.

Outcomes