Set-LabDefinition
SYNOPSIS
Helper cmdlet to update the lab definition
SYNTAX
Set-LabDefinition [[-Lab] <Lab>] [[-Machines] <Machine[]>] [[-Disks] <Disk[]>] [<CommonParameters>]
DESCRIPTION
Helper cmdlet to update the lab definition
EXAMPLES
Example 1
PS C:\> Set-LabDefinition -Lab (Get-LabDefinition) -Machines $machines -Disks $disks
Update the existing lab definition with a current list of machines and disks
PARAMETERS
-Disks
A list of disk definitions
Type: Disk[]
Parameter Sets: (All)
Aliases:
Required: False
Position: 2
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-Lab
The lab definition
Type: Lab
Parameter Sets: (All)
Aliases:
Required: False
Position: 0
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-Machines
A list of machine definitions
Type: Machine[]
Parameter Sets: (All)
Aliases:
Required: False
Position: 1
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.