Add-RASMFARadiusAttr
Adds attribute settings to Radius provider settings.
Add-RASMFARadiusAttr [-AttributeType] {Number | String | IP | Time} [-Id] <uint> -AttributeID <uint> -RadiusAttrName <string> -Value <string> -Vendor <string> -VendorID <uint> [<CommonParameters>] Add-RASMFARadiusAttr [-AttributeType] {Number | String | IP | Time} [-InputObject] <MFA> -AttributeID <uint> -RadiusAttrName <string> -Value <string> -Vendor <string> -VendorID <uint> [<CommonParameters>] Add-RASMFARadiusAttr [-AttributeType] {Number | String | IP | Time} [-Name] <string> [[-SiteId] <uint>] -AttributeID <uint> -RadiusAttrName <string> -Value <string> -Vendor <string> -VendorID <uint> [<CommonParameters>]
The cmdlet appends new attribute settings to existing ones. All parameters are mandatory.
-VendorID <uint> RADIUS attribute vendor ID
-AttributeID <uint> RADIUS attribute ID
-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.
-RadiusAttrName <string> RADIUS attribute name
-Vendor <string> RADIUS attribute vendor name
-AttributeType <RadiusAttrType> RADIUS attribute type. IP, string, number, or time Possible values: Number, String, IP, Time
-Name <string> The name of the target multi-factor authentication . This must be the actual multi-factor authentication name used in the RAS farm.
-SiteId <uint> Site ID in which to modify the specified multi-factor authentication . If the parameter is omitted, the site ID of the Licensing Server will be used.
-Id <uint> The ID of the multi-factor authentication to modify. To obtain the ID, use the Get-RASMFA cmdlet.
-InputObject <MFA> The multi factor authentication to modify. To obtain an object of type MFA, use the Get-RASMFA cmdlet.
<CommonParameters>
-none-
---------- EXAMPLE 1 ---------- Add-RASMFARadiusAttr -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-RASMFARadiusAttr -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-RASMFARadiusAttr -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-RASMFARadiusAttr -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.