Skip to content
This repository was archived by the owner on Nov 15, 2024. It is now read-only.

Latest commit

 

History

History
132 lines (92 loc) · 2.45 KB

File metadata and controls

132 lines (92 loc) · 2.45 KB
external help file Module Name online version schema
PSAutoLab-help.xml
PSAutoLab
2.0.0

Invoke-RefreshLab

SYNOPSIS

Refresh a PSAutolab configuration.

SYNTAX

Invoke-RefreshLab [[-Path] <String>] [-SnapshotName <String>] [-NoMessages] [-WhatIf] [-Confirm] [<CommonParameters>]

DESCRIPTION

Use this command to restore your Autolab configuration from the last checkpoint. You will typically use the Refresh-Lab alias.

EXAMPLES

Example 1

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

Restore the lab from a previously created Hyper-V checkpoint or snapshot.

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

-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

-SnapshotName

Specify a name for the virtual machine checkpoint

Type: String
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

Snapshot-Lab