Add-2FARadiusAttribute

NAME

Add-2FARadiusAttribute

SYNOPSIS

Adds attribute settings to Radius provider settings.

SYNTAX

Add-2FARadiusAttribute [-AttributeType] <RadiusAttrType> {Number | String | IP | Time} -AttributeID <uint> -Name <string> -Value <string> -Vendor <string> -VendorID <uint> [<CommonParameters>]

DESCRIPTION

The cmdlet appends new attribute settings to existing ones. All parameters are mandatory.

PARAMETERS


-VendorID <uint>
Radius Attribute Vendor ID

        Required?                    true
        Position?                    named
        Default value                0
        Accept pipeline input?       false
        Accept wildcard characters?  false

-AttributeID <uint>
Radius Attribute ID

        Required?                    true
        Position?                    named
        Default value                0
        Accept pipeline input?       false
        Accept wildcard characters?  false

-Value <string>
Radius Attribute Value

The value has many forms:IP, Number, String, and Time. When setting the time it is expected that the time value is in epoch time.

        Required?                    true
        Position?                    named
        Default value                
        Accept pipeline input?       false
        Accept wildcard characters?  false

-Name <string>
Radius Attribute Name

        Required?                    true
        Position?                    named
        Default value                
        Accept pipeline input?       false
        Accept wildcard characters?  false

-Vendor <string>
Radius Attribute Vendor name

        Required?                    true
        Position?                    named
        Default value                
        Accept pipeline input?       false
        Accept wildcard characters?  false

-AttributeType <RadiusAttrType>
Radius Attribute Type. IP, String, Number, Time

Possible values: Number, String, IP, Time

        Required?                    true
        Position?                    0
        Default value                String
        Accept pipeline input?       false
        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 documentation. 

INPUTS

-none-

OUTPUTS

-none-

EXAMPLES


---------- EXAMPLE 1 ----------

Add-2FARadiusAttribute -AttributeType IP -VendorID 1 -AttributeID 1 -Value 127.0.0.1 -Name AttrName -Vendor VendorName

Adds a new entry to Radius attributes of type IP. The "Value" parameter must be in a valid IP format (IPv4 only).

---------- EXAMPLE 2 ----------

Add-2FARadiusAttribute -AttributeType String -VendorID 1 -AttributeID 1 -Value "This is a string" -Name AttrName -Vendor VendorName

Adds a new entry to Radius attributes of type String. The "Value" parameter can contain a character of any type, but cannot be empty.

---------- EXAMPLE 3 ----------

Add-2FARadiusAttribute -AttributeType Number -VendorID 1 -AttributeID 1 -Value 42 -Name AttrName -Vendor VendorName

Adds a new entry to Radius attributes of type Number. The "Value" parameter must contain numbers. The input can also be a string but must contain numbers only.

---------- EXAMPLE 4 ----------

Add-2FARadiusAttribute -AttributeType Time -VendorID 1 -AttributeID 1 -Value 1500892318 -Name AttrName -Vendor VendorName

Adds a new entry to Radius attributes of type Time. The "Value" parameter represents the date using the epoch time format.

RELATED LINKS