# Any Powershell xml-rpc api examples

**URL:** <https://forum.opennebula.io/t/any-powershell-xml-rpc-api-examples/1185>\
**Category:** Integration Support\
**Created:** [September 8, 2015, 1:42am UTC](https://forum.opennebula.io/t/any-powershell-xml-rpc-api-examples/1185 "2015-09-08T01:42:53Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![pscookiemonster](https://yyz1.discourse-cdn.com/flex031/user_avatar/forum.opennebula.io/pscookiemonster/32/5693_2.png) [@pscookiemonster](https://forum.opennebula.io/u/pscookiemonster)\
**Post date:** [June 12, 2018, 6:37pm UTC](https://forum.opennebula.io/t/any-powershell-xml-rpc-api-examples/1185/4 "2018-06-12T18:37:38Z")

</div>

Alrighty!

In case anyone somehow ends up (1) with OpenNebula, and (2) using the xmlrpc API rather than CLI…

- Used [https://www.powershellgallery.com/packages/XmlRpc](https://www.powershellgallery.com/packages/XmlRpc)
- Used -Debug output to see the methodCall it was creating
- Used the screenshots from [this](https://forum.opennebula.io/t/postman-or-similar-application-for-opennebula-api/3201/6), to figure out the correct schema for the methodCall (i.e. the first parameter (“username:password”) should simple be enclosed in `<value>username:password</value>`, _not_ wrapped in a type
- Constructed the methodCall manually (todo: create function), everything worked!

---

_[View the full topic](https://forum.opennebula.io/t/any-powershell-xml-rpc-api-examples/1185)._
