CmdID / PowerShell / Cmdlets / New
New-ClientAccessRule
Use the New-ClientAccessRule cmdlet to create client access rules. Exchange PowerShell reference
From the Exchange PowerShell reference 21 parameters Its page in the reference
Parameters
Show its 21 parameters
-NameThe Name parameter specifies a unique name for the client access rule.-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).-PriorityThe Priority parameter specifies a priority value for the rule that determines the order of rule processing.-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.