rnelson0 / vCenter-roles

Set up roles for common applications to access vCenter
Apache License 2.0
11 stars 3 forks source link

Add Export-VIRole function? #8

Open devblackops opened 8 years ago

devblackops commented 8 years ago

What do you think about adding an Export-VIRole function? Something like the following that would export out a JSON file from an existing role. This way, users wouldn't have to handcraft the JSON file.

Export-VIRole -Name 'MyRole' -Description 'This is my awesome role' -DestinationPath '.\myRole.json' -ReferenceUrl 'www.vmware.com' -Vendor 'VMware' -Release '1.0'
rnelson0 commented 8 years ago

This sounds extremely helpful. It will have to wait for the new JSON scheme to be finalized, though.