Set-RASCriteriaOS
Modifies the Operating System Criteria.
Set-RASCriteriaOS [-DefObjType] {MFA} [[-SiteId] <uint>] [-AllowClientAndroid <bool>] [-AllowClientChrome <bool>] [-AllowClientIOS <bool>] [-AllowClientLinux <bool>] [-AllowClientMAC <bool>] [-AllowClientWeb <bool>] [-AllowClientWindows <bool>] [-AllowClientWyse <bool>] [<CommonParameters>]
Set-RASCriteriaOS [-Id] <uint> -ObjType {ClientPolicy | PubItem | MFA | LogonHours} [-AllowClientAndroid <bool>] [-AllowClientChrome <bool>] [-AllowClientIOS <bool>] [-AllowClientLinux <bool>] [-AllowClientMAC <bool>] [-AllowClientWeb <bool>] [-AllowClientWindows <bool>] [-AllowClientWyse <bool>] [-RuleId <uint>] [<CommonParameters>]
Set-RASCriteriaOS [-InputObject] <RASListObj> [-AllowClientAndroid <bool>] [-AllowClientChrome <bool>] [-AllowClientIOS <bool>] [-AllowClientLinux <bool>] [-AllowClientMAC <bool>] [-AllowClientWeb <bool>] [-AllowClientWindows <bool>] [-AllowClientWyse <bool>] [-RuleId <uint>] [<CommonParameters>]
Set-RASCriteriaOS [-Name] <string> [[-SiteId] <uint>] -ObjType {ClientPolicy | PubItem | MFA | LogonHours} [-AllowClientAndroid <bool>] [-AllowClientChrome <bool>] [-AllowClientIOS <bool>] [-AllowClientLinux <bool>] [-AllowClientMAC <bool>] [-AllowClientWeb <bool>] [-AllowClientWindows <bool>] [-AllowClientWyse <bool>] [-RuleId <uint>] [<CommonParameters>]
Modifies the Operating System Criteria within the Criteria settings of a ClientPolicy, MFA or PubItem.
-AllowClientChrome <bool> Allow Chrome OS clients.
-AllowClientAndroid <bool> Allow Android clients.
-AllowClientWeb <bool> Allow Web clients.
-AllowClientIOS <bool> Allow IOS clients.
-AllowClientLinux <bool> Allow Linux clients.
-AllowClientMAC <bool> Allow Mac clients.
-AllowClientWindows <bool> Allow Windows clients.
-AllowClientWyse <bool> Allow Wyse clients.
-Name <string> The name or server for which to modify the Criteria settings.
-SiteId <uint> Site ID for which to modify the Criteria settings.
If the parameter is omitted, the Licensing Server site ID will be used.
-Id <uint> The ID of a server for which to modify the Criteria settings.
-InputObject <RASListObj> An object of type ClientPolicy, PubItem or MFA for which to modify the Criteria settings.
-ObjType <CriteriaObjType> The Object Type for which to modify the Criteria settings.
Possible values: ClientPolicy, PubItem, MFA, LogonHours
-DefObjType <CriteriaDefObjType> The Default Object Type for which to modify the Criteria settings.
Possible values: MFA
-RuleId <uint> The ID of the Rule to modify.
<CommonParameters>
-none-
-none-
---------- EXAMPLE 1 ----------
Set-RASCriteriaOS -Id 1 -ObjType MFA -AllowClientAndroid $true
Sets the AllowClientAndroid to true within the Criteria Settings of the specified MFA by ID. ---------- EXAMPLE 2 ----------
Set-RASCriteriaOS -Name "Logon1" -ObjType MFA -AllowClientChrome $true
Sets the AllowClientChrome to true within the Criteria Settings of the specified MFA by Name.