Skip to content

Export-VCFManagementDomainJsonSpec

Synopsis

Generates a JSON file from the VMware Cloud Foundation Planning & Preparation Workbook to perform a VMware Cloud Foundation Bring-up. Requires the installation of the ImportExcel Powershell module.

Syntax

Export-VCFManagementDomainJsonSpec [[-workbook] <String>] [[-jsonPath] <String>] [<CommonParameters>]

Description

The Export-VCFManagementDomainJsonSpec cmdlet Generates a JSON file from the VCF Planning & Preparation Workbook to perform a VCF bringup.

Examples

Example 1

Export-VCFManagementDomainJsonSpec -workbook vcf-pnp.xlsx -jsonPath ./

This example will open the Planning & Preparation workbook and extract the required data to create a bringup JSON.

Parameters

-workbook

Specifies the path to the Planning & Preparation Excel workbook.

Type: String
Parameter Sets: (All)
Aliases:

Required: False
Position: 1
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-jsonPath

Specifies the output path for the json file. JSON file name will be 'management_domain_name-domainSpec.json'

Type: String
Parameter Sets: (All)
Aliases:

Required: False
Position: 1
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

Common Parameters

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.