Export-LabDefinition

SYNOPSIS

Export lab as XML

SYNTAX

Export-LabDefinition [-Force] [-ExportDefaultUnattendedXml] [-Silent] [<CommonParameters>]

DESCRIPTION

Exports the whole lab definition as XML files in the standard path $env:ProgramData\AutomatedLab\Labs

EXAMPLES

Example 1

PS C:\> Export-LabDefinition -Force

Export the current lab definition (Get-LabDefinition, Get-Lab) to $env:ProgramData\AutomatedLab\Labs, overwriting any existing files

PARAMETERS

-Force

Overwrite existing XML files

Type: SwitchParameter
Parameter Sets: (All)
Aliases:

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

-ExportDefaultUnattendedXml

Export the unattend.xml for all machines as well

Type: SwitchParameter
Parameter Sets: (All)
Aliases:

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

-Silent

Do not display any output

Type: SwitchParameter
Parameter Sets: (All)
Aliases:

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

CommonParameters

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

INPUTS

OUTPUTS

NOTES