PowerShell: PS-Module for NSX on vCloud Director

A customer asked me for a PowerShell script for NSX which is managed through vCloud Director from a user perspective (not an admin perspective). My first reaction was “Okidoki”, but actually (so far as I know): NO Powershell Module for NSX on vCloud Director exists!?!

#noPSModuleforNSXonvCD

There was one available at https://mycloudrevolution.com/en/2018/05/26/powershell-module-for-vcloud-director-nsx-api/, but it only contains get- cmdlets and no new- or add- cmdlets (which my customer required).

So, I created my own PS module for NSX on vCloud Director, which can be found here: https://github.com/Datacenter-Dennisch/PowerCLI-scripts/blob/master/vCloudDirectorNSX.psm1

It contains get-, add– and new– cmdlets!
Remove– cmdlets are still being developed (so keep an eye on my github site).

The biggest problem with the creation was vCloud Director which proxies the API calls to NSX. So you cannot rely completely on the NSX API documentation, also the NSX on vCloud Documentation is not complete. #fiddling

Geef een reactie

Vul je gegevens in of klik op een icoon om in te loggen.

WordPress.com logo

Je reageert onder je WordPress.com account. Log uit /  Bijwerken )

Google photo

Je reageert onder je Google account. Log uit /  Bijwerken )

Twitter-afbeelding

Je reageert onder je Twitter account. Log uit /  Bijwerken )

Facebook foto

Je reageert onder je Facebook account. Log uit /  Bijwerken )

Verbinden met %s