CmdID

CmdID / PowerShell / Cmdlets / New

New-LocalGroup

Creates a local security group. PowerShell reference

From the PowerShell reference 4 parameters Alias nlg

Opens CmdID with your command, read as PowerShell. It is read in your browser and sent nowhere.

What it does

from the PowerShell reference, CC BY 4.0

Creates a local security group. The New-LocalGroup cmdlet creates a local security group in the Security Account Manager. NOTE: The Microsoft.PowerShell.LocalAccounts module is not available in 32-bit PowerShell on a 64-bit system.

New-LocalGroup [-Description <String>] [-Name] <String> [-WhatIf] [-Confirm] [<CommonParameters>]

Create a security group

New-LocalGroup -Name "SecurityGroup04"Identify

Its page in the reference: New-LocalGroup.

Parameters

4 in the PowerShell reference
-DescriptionSpecifies a comment for the group. The maximum length is 256 characters.
-NameSpecifies a name for the group. The maximum length is 48 characters.
-ConfirmPrompts you for confirmation before running the cmdlet.
-WhatIfShows what would happen if the cmdlet runs. The cmdlet is not run.