Online Help > PowerShell Scripting

Set-RDMSecurityGroup

SYNOPSIS

Save/set the security group.

 

SYNTAX

Set-RDMSecurityGroup -SecurityGroup [SecurityGroup] <PSSecurityGroupInfo> [<CommonParameters>]

 

DESCRIPTION

Save/set the SecurityGroup. SecurityGroup must be first fetch via SecurityGroup property of the Get-RDMSecurityGroup cmdlet or via the New-RDMSecurityGroup result.

 

PARAMETERS

  -SecurityGroup <PSSecurityGroupInfo>

(Required) Security group object, must be retrieved from Get-RDMSecurityGroup or created via New-RDMSecurityGroup.

 

  <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 Set-RDMSecurityGroup -detailed". For technical information, type "Get-Help Set-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