Set-RASCriteria

NAME

Set-RASCriteria

SYNOPSIS

Modifies the Criteria settings.

SYNTAX

Set-RASCriteria [-DefObjType] {MFA} [[-SiteId] <uint>] [-Access {DenyCriteriaWhen | AllowCriteriaWhen}] [-DevicesEnabled <bool>] [-DevicesMatchingMode {IsNotOneOfTheFollowing | IsOneOfTheFollowing}] [-GatewaysEnabled <bool>] [-GatewaysMatchingMode {IsNotOneOfTheFollowing | IsOneOfTheFollowing}] [-HardwareIDsEnabled <bool>] [-HardwareIDsMatchingMode {IsNotOneOfTheFollowing | IsOneOfTheFollowing}] [-IPsEnabled <bool>] [-IPsMatchingMode {IsNotOneOfTheFollowing | IsOneOfTheFollowing}] [-OSsEnabled <bool>] [-OSsMatchingMode {IsNotOneOfTheFollowing | IsOneOfTheFollowing}] [-SecurityPrincipalsEnabled <bool>] [-SecurityPrincipalsMatchingMode {IsNotOneOfTheFollowing | IsOneOfTheFollowing}] [-ThemesEnabled <bool>] [-ThemesMatchingMode {IsNotOneOfTheFollowing | IsOneOfTheFollowing}] [<CommonParameters>]

Set-RASCriteria [-Id] <uint> -ObjType {ClientPolicy | PubItem | MFA | LogonHours} [-Access {DenyCriteriaWhen | AllowCriteriaWhen}] [-DevicesEnabled <bool>] [-DevicesMatchingMode {IsNotOneOfTheFollowing | IsOneOfTheFollowing}] [-GatewaysEnabled <bool>] [-GatewaysMatchingMode {IsNotOneOfTheFollowing | IsOneOfTheFollowing}] [-HardwareIDsEnabled <bool>] [-HardwareIDsMatchingMode {IsNotOneOfTheFollowing | IsOneOfTheFollowing}] [-IPsEnabled <bool>] [-IPsMatchingMode {IsNotOneOfTheFollowing | IsOneOfTheFollowing}] [-OSsEnabled <bool>] [-OSsMatchingMode {IsNotOneOfTheFollowing | IsOneOfTheFollowing}] [-RuleId <uint>] [-SecurityPrincipalsEnabled <bool>] [-SecurityPrincipalsMatchingMode {IsNotOneOfTheFollowing | IsOneOfTheFollowing}] [-ThemesEnabled <bool>] [-ThemesMatchingMode {IsNotOneOfTheFollowing | IsOneOfTheFollowing}] [<CommonParameters>]

Set-RASCriteria [-InputObject] <RASListObj> [-Access {DenyCriteriaWhen | AllowCriteriaWhen}] [-DevicesEnabled <bool>] [-DevicesMatchingMode {IsNotOneOfTheFollowing | IsOneOfTheFollowing}] [-GatewaysEnabled <bool>] [-GatewaysMatchingMode {IsNotOneOfTheFollowing | IsOneOfTheFollowing}] [-HardwareIDsEnabled <bool>] [-HardwareIDsMatchingMode {IsNotOneOfTheFollowing | IsOneOfTheFollowing}] [-IPsEnabled <bool>] [-IPsMatchingMode {IsNotOneOfTheFollowing | IsOneOfTheFollowing}] [-OSsEnabled <bool>] [-OSsMatchingMode {IsNotOneOfTheFollowing | IsOneOfTheFollowing}] [-RuleId <uint>] [-SecurityPrincipalsEnabled <bool>] [-SecurityPrincipalsMatchingMode {IsNotOneOfTheFollowing | IsOneOfTheFollowing}] [-ThemesEnabled <bool>] [-ThemesMatchingMode {IsNotOneOfTheFollowing | IsOneOfTheFollowing}] [<CommonParameters>]

Set-RASCriteria [-Name] <string> [[-SiteId] <uint>] -ObjType {ClientPolicy | PubItem | MFA | LogonHours} [-Access {DenyCriteriaWhen | AllowCriteriaWhen}] [-DevicesEnabled <bool>] [-DevicesMatchingMode {IsNotOneOfTheFollowing | IsOneOfTheFollowing}] [-GatewaysEnabled <bool>] [-GatewaysMatchingMode {IsNotOneOfTheFollowing | IsOneOfTheFollowing}] [-HardwareIDsEnabled <bool>] [-HardwareIDsMatchingMode {IsNotOneOfTheFollowing | IsOneOfTheFollowing}] [-IPsEnabled <bool>] [-IPsMatchingMode {IsNotOneOfTheFollowing | IsOneOfTheFollowing}] [-OSsEnabled <bool>] [-OSsMatchingMode {IsNotOneOfTheFollowing | IsOneOfTheFollowing}] [-RuleId <uint>] [-SecurityPrincipalsEnabled <bool>] [-SecurityPrincipalsMatchingMode {IsNotOneOfTheFollowing | IsOneOfTheFollowing}] [-ThemesEnabled <bool>] [-ThemesMatchingMode {IsNotOneOfTheFollowing | IsOneOfTheFollowing}] [<CommonParameters>]

DESCRIPTION

Modifies the Criteria settings of a ClientPolicy, MFA or PubItem.

PARAMETERS

-Access <AccessType> The Access type

Possible values: DenyCriteriaWhen, AllowCriteriaWhen

        Required?                    false

        Position?                    named

        Default value                

        Accept pipeline input?       false

        Accept wildcard characters?  false

-SecurityPrincipalsEnabled <bool> Whether the Security Principals criteria is enabled or not

        Required?                    false

        Position?                    named

        Default value                

        Accept pipeline input?       false

        Accept wildcard characters?  false

-SecurityPrincipalsMatchingMode <MatchingModeType> The Security Principals criteria matching mode type

Possible values: IsNotOneOfTheFollowing, IsOneOfTheFollowing

        Required?                    false

        Position?                    named

        Default value                

        Accept pipeline input?       false

        Accept wildcard characters?  false

-GatewaysEnabled <bool> Whether the Gateways criteria is enabled or not

        Required?                    false

        Position?                    named

        Default value                

        Accept pipeline input?       false

        Accept wildcard characters?  false

-GatewaysMatchingMode <MatchingModeType> The Gateways criteria matching mode type

Possible values: IsNotOneOfTheFollowing, IsOneOfTheFollowing

        Required?                    false

        Position?                    named

        Default value                

        Accept pipeline input?       false

        Accept wildcard characters?  false

-ThemesEnabled <bool> Whether the Themes criteria is enabled or not

        Required?                    false

        Position?                    named

        Default value                

        Accept pipeline input?       false

        Accept wildcard characters?  false

-ThemesMatchingMode <MatchingModeType> The Themes criteria matching mode type

Possible values: IsNotOneOfTheFollowing, IsOneOfTheFollowing

        Required?                    false

        Position?                    named

        Default value                

        Accept pipeline input?       false

        Accept wildcard characters?  false

-DevicesEnabled <bool> Whether the Devices criteria is enabled or not

        Required?                    false

        Position?                    named

        Default value                

        Accept pipeline input?       false

        Accept wildcard characters?  false

-DevicesMatchingMode <MatchingModeType> The Devices criteria matching mode type

Possible values: IsNotOneOfTheFollowing, IsOneOfTheFollowing

        Required?                    false

        Position?                    named

        Default value                

        Accept pipeline input?       false

        Accept wildcard characters?  false

-OSsEnabled <bool> Whether the OSs criteria is enabled or not

        Required?                    false

        Position?                    named

        Default value                

        Accept pipeline input?       false

        Accept wildcard characters?  false

-OSsMatchingMode <MatchingModeType> The OSs criteria matching mode type

Possible values: IsNotOneOfTheFollowing, IsOneOfTheFollowing

        Required?                    false

        Position?                    named

        Default value                

        Accept pipeline input?       false

        Accept wildcard characters?  false

-IPsEnabled <bool> Whether the IPs criteria is enabled or not

        Required?                    false

        Position?                    named

        Default value                

        Accept pipeline input?       false

        Accept wildcard characters?  false

-IPsMatchingMode <MatchingModeType> The IPs criteria matching mode type

Possible values: IsNotOneOfTheFollowing, IsOneOfTheFollowing

        Required?                    false

        Position?                    named

        Default value                

        Accept pipeline input?       false

        Accept wildcard characters?  false

-HardwareIDsEnabled <bool> Whether the HardwareIDs criteria is enabled or not

        Required?                    false

        Position?                    named

        Default value                

        Accept pipeline input?       false

        Accept wildcard characters?  false

-HardwareIDsMatchingMode <MatchingModeType> The HardwareIDs criteria matching mode type

Possible values: IsNotOneOfTheFollowing, IsOneOfTheFollowing

        Required?                    false

        Position?                    named

        Default value                

        Accept pipeline input?       false

        Accept wildcard characters?  false

-Name <string> The name or server for which to modify the Criteria settings.

        Required?                    true

        Position?                    0

        Default value                

        Accept pipeline input?       false

        Accept wildcard characters?  false

-SiteId <uint> Site ID for which to modify the Criteria settings.

If the parameter is omitted, the Licensing Server site ID will be used.

        Required?                    false

        Position?                    1

        Default value                0

        Accept pipeline input?       false

        Accept wildcard characters?  false

-Id <uint> The ID of a server for which to modify the Criteria settings.

        Required?                    true

        Position?                    0

        Default value                0

        Accept pipeline input?       false

        Accept wildcard characters?  false

-InputObject <RASListObj> An object of type ClientPolicy, PubItem or MFA for which to modify the Criteria settings.

        Required?                    true

        Position?                    0

        Default value                

        Accept pipeline input?       false

        Accept wildcard characters?  false

-ObjType <CriteriaObjType> The Object Type for which to modify the Criteria settings.

Possible values: ClientPolicy, PubItem, MFA, LogonHours

        Required?                    true

        Position?                    named

        Default value                0

        Accept pipeline input?       false

        Accept wildcard characters?  false

-DefObjType <CriteriaDefObjType> The Default Object Type for which to modify the Criteria settings.

Possible values: MFA

        Required?                    true

        Position?                    0

        Default value                0

        Accept pipeline input?       false

        Accept wildcard characters?  false

-RuleId <uint> The ID of the Rule to modify.

        Required?                    false

        Position?                    named

        Default value                0

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

Set-RASCriteria -Id 1 -ObjType MFA -SecurityPrincipalsEnabled $false

Disables the SecurityPrincipal criteria within the Criteria settings of the MFA with Id 1.

Last updated

© 2024 Parallels International GmbH. All rights reserved.