Online Help > PowerShell Scripting

New-RDMSecurityGroup

SYNOPSIS

Create a new security group instance.

 

SYNTAX

New-RDMSecurityGroup -SetSecurityGroup [SetSecurityGroup] <SwitchParameter> -Description [Description] <String> -Name [Name] <String> [<CommonParameters>]

 

DESCRIPTION

Create a security group instance. The instance has not yet been saved. Assign the result to a variable then call "Set-RDMSecurityGroup $s" to save the security group.

 

PARAMETERS

  -SetSecurityGroup <SwitchParameter>

Save the new security group.

 

  -Description <String>

Security group description.

 

  -Name <String>

(Required) New security group name.

 

  <CommonParameters>

This cmdlet supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, WarningVariable,OutBuffer and OutVariable.For more information, type, "get-help about_commonparameters".

 

NOTES

For more information, type "Get-Help New-RDMSecurityGroup -detailed". For technical information, type "Get-Help New-RDMSecurityGroup -full".

 

EXAMPLE 1

PS C:\> $securityGroup = New-RDMSecurityGroup -Name "New SecurityGroup" ;Set-RDMSecurityGroup $securityGroup

 

Create & save new security group.

 

RELATED LINKS

Get-RDMSecurityGroup

New-RDMSecurityGroup

Remove-RDMSecurityGroup

Set-RDMSecurityGroup

Set-RDMSecurityGroupProperty