Set JCRadiusServer - TheJumpCloud/support GitHub Wiki

Set-JCRadiusServer

SYNOPSIS

Updates a JumpCloud radius server.

SYNTAX

ById (Default)

Set-JCRadiusServer [-Force] [-Id] <String[]> [[-newName] <String>] [[-networkSourceIp] <String>]
 [[-sharedSecret] <String>] [[-mfa] <String>] [[-userLockoutAction] <String>]
 [[-userPasswordExpirationAction] <String>] [<CommonParameters>]

ByName

Set-JCRadiusServer [-Force] [-Name] <String[]> [[-newName] <String>] [[-networkSourceIp] <String>]
 [[-sharedSecret] <String>] [[-mfa] <String>] [[-userLockoutAction] <String>]
 [[-userPasswordExpirationAction] <String>] [<CommonParameters>]

ByValue

Set-JCRadiusServer [-Force] [[-newName] <String>] [[-networkSourceIp] <String>] [[-sharedSecret] <String>]
 [[-mfa] <String>] [[-userLockoutAction] <String>] [[-userPasswordExpirationAction] <String>]
 [<CommonParameters>]

DESCRIPTION

Use this function to update a radius server in a JumpCloud tenet.

EXAMPLES

Example 1

PS C:\> Set-JCRadiusServer -Id:('5d6802c46eb05c5971151558') -newName:('RadiusServer2') -networkSourceIp:('111.111.111.111') -sharedSecret:('dUtU9FDvPc8Wdvoc#jKmZr7aJSXv5pR')

Update a radius server by Id from a JumpCloud tenet.

Example 2

PS C:\> Set-JCRadiusServer -Name:('RadiusServer1') -newName:('RadiusServer2') -networkSourceIp:('111.111.111.111') -sharedSecret:('MzQDUuDhqhSgMoryi#fNpB2wEpvu8U1')

Update a radius server by Name from a JumpCloud tenet.

Example 3

PS C:\> Get-JCRadiusServer -Id:('5d6802c46eb05c5971151558') | Set-JCRadiusServer -networkSourceIp:('111.111.111.111')

Update the networkSourceIp of a radius server by Id from a JumpCloud tenet.

PARAMETERS

-Force

Bypass user prompts and dynamic ValidateSet.

Type: System.Management.Automation.SwitchParameter
Parameter Sets: (All)
Aliases:

Required: False
Position: Named
Default value: None
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: False

-Id

The unique id of the object.

Type: System.String[]
Parameter Sets: ById
Aliases: _id

Required: True
Position: 1
Default value: None
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: False

-mfa

If MFA should be requried to authenticate to the RADIUS Server

Type: System.String
Parameter Sets: (All)
Aliases:
Accepted values: DISABLED, ENABLED

Required: False
Position: 6
Default value: None
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: False

-Name

The name of the object.

Type: System.String[]
Parameter Sets: ByName
Aliases:

Required: True
Position: 1
Default value: None
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: False

-networkSourceIp

The ip of the new Radius Server.

Type: System.String
Parameter Sets: (All)
Aliases:

Required: False
Position: 4
Default value: None
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: False

-newName

The new name of the Radius Server.

Type: System.String
Parameter Sets: (All)
Aliases:

Required: False
Position: 3
Default value: None
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: False

-sharedSecret

The shared secret for the new Radius Server.

Type: System.String
Parameter Sets: (All)
Aliases:

Required: False
Position: 5
Default value: None
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: False

-userLockoutAction

The behavior when user accounts get locked out

Type: System.String
Parameter Sets: (All)
Aliases:
Accepted values: MAINTAIN, REMOVE

Required: False
Position: 7
Default value: None
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: False

-userPasswordExpirationAction

The behavior when user accounts expire

Type: System.String
Parameter Sets: (All)
Aliases:
Accepted values: MAINTAIN, REMOVE

Required: False
Position: 8
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

System.Management.Automation.SwitchParameter

System.String[]

System.String

OUTPUTS

System.Object

NOTES

RELATED LINKS

⚠️ **GitHub.com Fallback** ⚠️