Remove-LabAzureResourceGroup

SYNOPSIS

Remove a resource group

SYNTAX

Remove-LabAzureResourceGroup [-ResourceGroupName] <String[]> [-Force] [<CommonParameters>]

DESCRIPTION

Removes one or more resource groups from Azure and from the lab cache

EXAMPLES

Example 1

PS C:\> Remove-LabAzureResourceGroup -ResourceGroupName MyLab

Removes the resource group MyLab - usually only used in Remove-Lab

PARAMETERS

-Force

Indicates that the resource groups should be forcibly removed

Type: SwitchParameter
Parameter Sets: (All)
Aliases:

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

-ResourceGroupName

The resource group names

Type: String[]
Parameter Sets: (All)
Aliases:

Required: True
Position: 0
Default value: None
Accept pipeline input: True (ByPropertyName)
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

OUTPUTS

NOTES