Skip to content

Instantly share code, notes, and snippets.

@jonathanmedd
Created March 16, 2016 21:41
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jonathanmedd/e2c185fee918f1a7b81f to your computer and use it in GitHub Desktop.
Save jonathanmedd/e2c185fee918f1a7b81f to your computer and use it in GitHub Desktop.
Create a vRA Tenant via JSON
PS C:\Users\jmedd> $JSON = @"
{
"name" : "Tenant11",
"description" : "This is Tenant11",
"urlName" : "Tenant11",
"contactEmail" : "test.user@tenant11.local",
"id" : "Tenant11",
"defaultTenant" : false,
"password" : ""
}
"@
PS C:\Users\jmedd> $JSON | New-vRATenant
Id : Tenant11
UrlName : Tenant11
Name : Tenant11
Description : This is Tenant11
ContactEmail : test.user@tenant11.local
Password :
DefaultTenant : False
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment