CmdID / PowerShell / Cmdlets / Set
Set-ClientAccessRule
Use the Set-ClientAccessRule cmdlet to modify existing client access rules. Exchange PowerShell reference
From the Exchange PowerShell reference 22 parameters Its page in the reference
Parameters
Show its 22 parameters
-IdentityThe Identity parameter specifies the client access rule that you want to modify.-ActionThe Action parameter specifies the action for the client access rule.-AnyOfAuthenticationTypesThis parameter is reserved for internal Microsoft use.-AnyOfClientIPAddressesOrRangesThe AnyOfClientIPAddressesOrRanges parameter specifies a condition for the client access rule that's based on the client's IPv4 or IPv6 address.-AnyOfProtocolsThe AnyOfProtocols parameter specifies a condition for the client access rule that's based on the client's protocol.-AnyOfSourceTcpPortNumbersThis parameter is reserved for internal Microsoft use.-Confirm, -cfThe Confirm switch specifies whether to show or hide the confirmation prompt.-DomainControllerThe DomainController parameter specifies the domain controller that's used by this cmdlet to read data from or write data to Active Directory.-EnabledThe Enabled parameter specifies whether the client access rule is enabled or disabled.-ExceptAnyOfAuthenticationTypesThis parameter is reserved for internal Microsoft use.-ExceptAnyOfClientIPAddressesOrRangesThe ExceptAnyOfClientIPAddressesOrRanges parameter specifies an exception for the client access rule that's based on the client's IPv4 or IPv6 address.-ExceptAnyOfProtocolsThis parameter is reserved for internal Microsoft use.-ExceptAnyOfSourceTcpPortNumbersThis parameter is reserved for internal Microsoft use.-ExceptUserIsMemberOfThis parameter is reserved for internal Microsoft use.-ExceptUsernameMatchesAnyOfPatternsThe ExceptUsernameMatchesAnyOfPatterns parameter specifies an exception for the client access rule that's based on the user's account name in the format \ (for example, contoso.com\jeff).-NameThe Name parameter specifies a unique name for the client access rule.-PriorityThe Priority parameter specifies a priority value for the client access rule.-ScopeThe Scope parameter specifies the scope of the client access rule.-UserIsMemberOfThis parameter is reserved for internal Microsoft use.-UsernameMatchesAnyOfPatternsThe UsernameMatchesAnyOfPatterns parameter specifies a condition for the client access rule that's based on the user's account name in the format \ (for example, contoso.com\jeff).-UserRecipientFilterThe UserRecipientFilter parameter specifies a condition for the client access rule that uses OPATH filter syntax to identify the user based on a limited set of recipient properties.-WhatIf, -wiThe WhatIf switch shows what the command does without making any changes.