New-LabAzureRmResourceGroup

SYNOPSIS

Wrapper to create a new resource group and include it in the lab metadata

SYNTAX

New-LabAzureRmResourceGroup [-ResourceGroupNames] <String[]> [-LocationName] <String> [-PassThru]
 [<CommonParameters>]

DESCRIPTION

Wrapper to create a new resource group and include it in the lab metadata

EXAMPLES

Example 1

PS C:\> New-LabAzureRmResourceGroup -ResourceGroupNames a,b,c -LocationName 'westeurope'

Create three new resource groups in West Europe

PARAMETERS

-LocationName

Location to create resource in

Type: String
Parameter Sets: (All)
Aliases:

Required: True
Position: 2
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-PassThru

Indicates that the cmdlet returns data

Type: SwitchParameter
Parameter Sets: (All)
Aliases:

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

-ResourceGroupNames

Resource groups to create

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

Required: True
Position: 1
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

OUTPUTS

NOTES