I am trying to clean up my code a bit and im trying to make a class of sort to be called with other functions. Here is the code:Function Invoke-SoapRequest { param( [parameter(Mandatory)]$Body, [parameter(Mandatory)]$MethodName ) $headers = New-Objec...