< Back

Set-JCRadiusServer

Thu Jan 16, 2020 9:19 am

NAME Set-JCRadiusServer



SYNOPSIS

Updates a JumpCloud radius server.





SYNTAX

Set-JCRadiusServer [-Id] <System.String[]> [[-newName] <System.String>] [[-networkSourceIp] <System.String>]

[[-sharedSecret] <System.String>] [-Force] [<CommonParameters>]



Set-JCRadiusServer [-Name] <System.String[]> [[-newName] <System.String>] [[-networkSourceIp] <System.String>]

[[-sharedSecret] <System.String>] [-Force] [<CommonParameters>]





DESCRIPTION

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





PARAMETERS

-Force <System.Management.Automation.SwitchParameter>

Bypass user prompts and dynamic ValidateSet.



Required? false

Position? named

Default value False

Accept pipeline input? True (ByPropertyName)

Accept wildcard characters? false



-Id <System.String[]>

The unique id of the object.



Required? true

Position? 1

Default value None

Accept pipeline input? True (ByPropertyName)

Accept wildcard characters? false



-Name <System.String[]>

The name of the object.



Required? true

Position? 1

Default value None

Accept pipeline input? True (ByPropertyName)

Accept wildcard characters? false



-networkSourceIp <System.String>

The ip of the new Radius Server.



Required? false

Position? 4

Default value None

Accept pipeline input? True (ByPropertyName)

Accept wildcard characters? false



-newName <System.String>

The new name of the Radius Server.



Required? false

Position? 3

Default value None

Accept pipeline input? True (ByPropertyName)

Accept wildcard characters? false



-sharedSecret <System.String>

The shared secret for the new Radius Server.



Required? false

Position? 5

Default value None

Accept pipeline input? True (ByPropertyName)

Accept wildcard characters? false



<CommonParameters>

This cmdlet supports the common parameters: Verbose, Debug,

ErrorAction, ErrorVariable, WarningAction, WarningVariable,

OutBuffer, PipelineVariable, and OutVariable. For more information, see

about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216).



INPUTS

System.Management.Automation.SwitchParameter





System.String[]





System.String







OUTPUTS

System.Object







NOTES









-------------------------- 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.



RELATED LINKS

Online Version: https://github.com/TheJumpCloud/support ... diusServer