Skip to content

Latest commit

 

History

History
148 lines (104 loc) · 2.99 KB

Invoke-SetupLab.md

File metadata and controls

148 lines (104 loc) · 2.99 KB
external help file Module Name online version schema
PSAutoLab-help.xml
PSAutoLab
2.0.0

Invoke-SetupLab

SYNOPSIS

Set up an Autolab configuration.

SYNTAX

Invoke-SetupLab [[-Path] <String>] [-IgnorePendingReboot] [-UseLocalTimeZone] [-NoMessages] [-WhatIf] [-Confirm] [<CommonParameters>]

DESCRIPTION

Once you have configured the localhost, change to a configuration folder under Autolab\Configurations, and set up a lab configuration. It is recommended that you first review any readme or instruction files. This command will generate the Desired State Configuration (DSC) MOFs, download required DSC resources, and create the virtual machines. Follow the on-screen instructions to continue.

You will typically use the Setup-Lab alias.

EXAMPLES

Example 1

PS C:\Autolab\Configurations\Windows10\> Setup-Lab

Follow on-screen instructions and prompts.

PARAMETERS

-Confirm

Prompts you for confirmation before running the cmdlet.

Type: SwitchParameter
Parameter Sets: (All)
Aliases: cf

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

-IgnorePendingReboot

Type: SwitchParameter
Parameter Sets: (All)
Aliases:

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

-Path

The path to the configuration folder. Normally, you should run all commands from within the configuration folder.

Type: String
Parameter Sets: (All)
Aliases:

Required: False
Position: 0
Default value: Current Directory
Accept pipeline input: False
Accept wildcard characters: False

-WhatIf

Shows what would happen if the cmdlet runs. The cmdlet is not run.

Type: SwitchParameter
Parameter Sets: (All)
Aliases: wi

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

-UseLocalTimeZone

Override any configuration specified time zone and use the local time zone on this computer.

Type: SwitchParameter
Parameter Sets: (All)
Aliases:

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

-NoMessages

Run the command but suppress all status messages.

Type: SwitchParameter
Parameter Sets: (All)
Aliases: Quiet

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

None

OUTPUTS

System.Object

NOTES

RELATED LINKS

Unattend-Lab