| external help file | PSAutoLab-help.xml |
|---|---|
| Module Name | PSAutoLab |
| online version | https://github.com/pluralsight/PS-AutoLab-Env/blob/master/docs/Invoke-SnapshotLab.md |
| schema | 2.0.0 |
Create virtual machine snapshots of your Autolab configuration.
Invoke-SnapshotLab [[-Path] <String>] [-SnapshotName <String>] [-NoMessages] [-WhatIf] [-Confirm] [<CommonParameters>]Use this command to snapshot or checkpoint an entire Autolab configuration. You can later restore your configuration with Refresh-Lab. It is assumed you are running this command from within the configuration folder.
You will typically use the Snapshot-Lab alias.
PS C:\Autolab\Configurations\Windows10> Snapshot-LabPrompts 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: FalseThe 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: FalseShows 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: FalseSpecify a name for the virtual machine checkpoint
Type: String
Parameter Sets: (All)
Aliases:
Required: False
Position: Named
Default value: LabConfigured
Accept pipeline input: False
Accept wildcard characters: FalseRun 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: FalseThis cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.