rnelson0 / vCenter-roles

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

Add 'Name' to JSON schema #9

Open devblackops opened 8 years ago

devblackops commented 8 years ago

I would suggest adding the Name field to the JSON schema. If the Import-VIRole function supported the pipeline, you could import multiple roles like below. You could also specify the Name explicitly when calling the function to override the name in the JSON file.

dir '*.json' | Import-VIRole -vCenter vcenter01.mydomain.com
rnelson0 commented 8 years ago

Good idea! I will make sure this is addressed as the JSON scheme is updated.