Important Update: Archer Community Scheduled Maintenance on November 23–24 - New Community Launching Soon! Learn More..
2023-10-13 01:38 PM
I have been making SOAP API calls in Powershell for sometime now using cmdlet New-WebServiceProxy with URI /ws/search.asmx, and then using the ExecuteSearch method on the returned object.
Recently, I upgraded PS to version 7 in order to get another feature I needed and discovered that this cmdlet is no longer available. The replacement seems to be Invoke-WebRequest. However, that returns an object that does not have an ExecuteSearch method. Does anyone have an example of how to call Invoke-WebRequest to get an object that does have this method.? Or, is there some totally different way to do this?
-Ron