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.
Now is the time to ask your NetSuite-savvy friends and colleagues to join the NetSuite Support Community! Refer now! Click here to watch and learn more!
Stay in the Know
Be sure you're subscribed to NetSuite communication to stay in the know about monthly happenings, updates and announcements. Subscribe
Be sure you're subscribed to NetSuite communication to stay in the know about monthly happenings, updates and announcements. Subscribe
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