< Back

Update-ACDLabSnapshot

Fri Jan 10, 2020 6:34 pm

NAME Update-ACDLabSnapshot



SYNOPSIS

Update the ACD lab snapshot that acts as the parent image the labs are created from





SYNTAX

Update-ACDLabSnapshot [[-ResourceGroupName] <String>] [[-VMName] <String>] [[-SnapshotName] <String>] [-WhatIf]

[-Confirm] [<CommonParameters>]





DESCRIPTION





PARAMETERS

-ResourceGroupName <String>

Specifies the resource group name the parent VHD is in.

The default is parentResourceGroup.



Required? false

Position? 1

Default value parentResourceGroup

Accept pipeline input? false

Accept wildcard characters? false



-VMName <String>

Specifies the name of the parent VM the snapshot is taken from.

The default is LabParent



Required? false

Position? 2

Default value LabParent

Accept pipeline input? false

Accept wildcard characters? false



-SnapshotName <String>

Specifies the name of the Snapshot being created.

The default is CyberLabParent



Required? false

Position? 3

Default value CyberLabParent

Accept pipeline input? false

Accept wildcard characters? false



-WhatIf [<SwitchParameter>]



Required? false

Position? named

Default value

Accept pipeline input? false

Accept wildcard characters? false



-Confirm [<SwitchParameter>]



Required? false

Position? named

Default value

Accept pipeline input? false

Accept wildcard characters? false



<CommonParameters>

This cmdlet supports the common parameters: Verbose, Debug,

ErrorAction, ErrorVariable, WarningAction, WarningVariable,

OutBuffer, PipelineVariable, and OutVariable. For more information, see

about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216).



INPUTS



OUTPUTS



-------------------------- EXAMPLE 1 --------------------------



PS C:\\>Update-ACDLabSnapshot



This example updates the VHD snapshot with defualt values. The parentResourceGroup resource group with VMName

LabParent.









-------------------------- EXAMPLE 2 --------------------------



PS C:\\>Update-ACDLabSnapshot -ResourceGroupName KaliLab -VMName KaliLab -SnapshotName KaliLabParent



This example updates the VHD snapshot from the KaliLab resource group,

with the KaliParent VM











RELATED LINKS