ONTAP Discussions

Unable to use Invoke-WebRequest once creating a NetApp object "NetApp.Manage.NaServer"

POLICARD
2,280 Views

Hello there !

 

I'm using a Powershell script used by ActiveIQ Unified Manager Alerting system that connect to Unified Manager server using SDK and send the information to our Centreon monitoring server using an HTTPS web request.

 

I have noticed that I can reach the Centreon Web server normaly once I create the NetApp object "NetApp.Manage.NaServer".

 

I think the creation of this object modify the way to connect using Invoke-WebRequest cmdlet ...

 

Can I set back the default settings at the end of my script in order to be able to use Invoke-WebRequest properly ... ?

 

Any idea ?

1 ACCEPTED SOLUTION

POLICARD
2,250 Views

found a workaround using curl.exe ... I still hope being able to use Invoke-WebRequest cmdlet ^^

View solution in original post

1 REPLY 1

POLICARD
2,251 Views

found a workaround using curl.exe ... I still hope being able to use Invoke-WebRequest cmdlet ^^

Public