Discussions
Stay up-to-date with the latest news from NetSuite. You’ll be in the know about how to connect with peers and take your business to new heights at our virtual, in-person, on demand events, and much more.
New AI Community Guidelines. Please review and follow them to ensure AI use stays safe, accurate, and compliant.
Powershell and Netsuite web services
Does anyone have any samples of using Powershell to read and update NetSuite via web services?
I can get connected via $webserviceproxy = New-WebServiceProxy -Uri 'https://webservices.netsuite.com/wsdl/v2012_2_0/netsuite.wsdl' and even get a response back using $webserviceproxy | Get-Member but can't figure out how to set the passport values.
Any guesses on how to set the passport values? I have tried $webserviceproxy.passport.email = "myemail@abd.com" but I keep getting "Property 'email' cannot be found on this object; make sure it exists and is settable."
Here is s snip of what I get back from the Get-Member command:
0