< Back
Remove-ACDLab
Post
NAME Remove-ACDLab
SYNOPSIS
Removes/deletes a ACD training lab environments
SYNTAX
Remove-ACDLab [[-ResourceGroupName] <String>] [-Force] [-WhatIf] [-Confirm] [<CommonParameters>]
DESCRIPTION
PARAMETERS
-ResourceGroupName <String>
The Remove-ACDLab function will apply the auto shutdown resource to all the VMs in a specified resource.
A regular expression is used to filter the desired resource groups to apply the auto shutdown policy to.
The default is ^Student, which will apply the policy to all resource groups the start with "Student".
Required? false
Position? 1
Default value ^Student
Accept pipeline input? false
Accept wildcard characters? false
-Force [<SwitchParameter>]
Use when it is intened to remove all labs without interaction.
Required? false
Position? named
Default value False
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:\\>Remove-ACDLab -ResourceGroupName Student3
This example will remove the lab in the Student3 resource group.
-------------------------- EXAMPLE 2 --------------------------
PS C:\\>Remove-ACDLab
Confirm
Are you sure you want to remove resource group 'student6'
[Y] Yes [N] No [S] Suspend [?] Help (default is "Y"): y
True
-------------------------- EXAMPLE 3 --------------------------
PS C:\\>Remove-ACDLab -Force
This example will remove all the ACD training labs without interaction.
RELATED LINKS
SYNOPSIS
Removes/deletes a ACD training lab environments
SYNTAX
Remove-ACDLab [[-ResourceGroupName] <String>] [-Force] [-WhatIf] [-Confirm] [<CommonParameters>]
DESCRIPTION
PARAMETERS
-ResourceGroupName <String>
The Remove-ACDLab function will apply the auto shutdown resource to all the VMs in a specified resource.
A regular expression is used to filter the desired resource groups to apply the auto shutdown policy to.
The default is ^Student, which will apply the policy to all resource groups the start with "Student".
Required? false
Position? 1
Default value ^Student
Accept pipeline input? false
Accept wildcard characters? false
-Force [<SwitchParameter>]
Use when it is intened to remove all labs without interaction.
Required? false
Position? named
Default value False
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:\\>Remove-ACDLab -ResourceGroupName Student3
This example will remove the lab in the Student3 resource group.
-------------------------- EXAMPLE 2 --------------------------
PS C:\\>Remove-ACDLab
Confirm
Are you sure you want to remove resource group 'student6'
[Y] Yes [N] No [S] Suspend [?] Help (default is "Y"): y
True
-------------------------- EXAMPLE 3 --------------------------
PS C:\\>Remove-ACDLab -Force
This example will remove all the ACD training labs without interaction.
RELATED LINKS