Markus Kraus @vMarkus_K
MY CLOUD-(R)EVOLUTION mycloudrevolution.com
PowerCLI vCloud Director Customer Provisioning
PowerCLI – Create vCloud Director Edge Gateway
PowerCLI – Create routed vCloud Director Org Network
Read the Docs - VMware-vCD-Module
PowerShell Gallery - VMware-vCD-Module
Install-Module -Name VMware-vCD-Module -Scope CurrentUser
The 'VMware-vCD-Module' PowerShell Module is focused on the initial creation of VMware vCloud Director Objects like Org, Org User, Org VDC with External Networks or Edge Gateway.
All Functions in this Module can be used as standalone Cmdlet but also the Invoke-My OnBoarding
Functions to process a JSON File and create all Objects at once.
Powershell: v4, v5, v5.1
PowerCLI: 6.5.1, 6.5.4
VMware vCloud Director: 8.20.1, 9.1
New-MyOrg -Name "TestOrg" -FullName "Test Org" -Description "PowerCLI Test Org"
New-MyOrgAdmin -Name "OrgAdmin" -Pasword "Anfang!!" -FullName "Org Admin" -EmailAddress "[email protected]" -PhoneNumber "0049123456789" -Org "TestOrg" -Enabled:$True
New-MyOrgVdc -Name "TestVdc" -AllocationModel AllocationVApp -StorageLimit 1000 -StorageProfile "Standard-DC01" -NetworkPool "NetworkPool-DC01" -ProviderVDC "Provider-VDC-DC01" -Org "TestOrg"
New-MyEdgeGateway -Name "TestEdge" -OrgVDCName "TestVDC" -OrgName "TestOrg" -Size "full" -ExternalNetwork "ExternalNetwork" -IPAddress "192.168.100.1" -SubnetMask "255.255.255.0" -Gateway "192.168.100.254" -IPRangeStart "192.168.100.2" -IPRangeEnd "192.168.100.3" -Verbose
New-MyOrgNetwork -Name Test -OrgVdcName "Test-OrgVDC" -OrgName "Test-Org" -EdgeName "Test-OrgEdge" -SubnetMask 255.255.255.0 -Gateway 192.168.66.1 -IPRangeStart 192.168.66.100 -IPRangeEnd 192.168.66.200 -Shared:$false
$params = @{ 'name' = 'MyTest';
'vCenterName'='MyVcenter';
'PortGroupName'='MyTest';
'SubnetMask' = '255.255.255.0';
'Gateway' = '192.168.110.1';
'IPRangeStart' = '192.168.110.100';
'IPRangeEnd' = '192.168.110.200'
}
New-MyExternalNetwork @params