Grant-AFCacheAllowedClientAccount

Grant-AFCacheAllowedClientAccount

Grants a Windows account permissions to connect to the cache cluster as a client, adding the account to the list of allowed client accounts.

Syntax

Parameter Set: Default
Grant-AFCacheAllowedClientAccount [-Account] <String> [[-Force]] [ <CommonParameters>]

Detailed Description

The Windows account provided is added to the list of allowed clients present in cluster configuration. An error is thrown if the account is not a valid Windows account or if it is already present in the list.

Parameters

-Account<String>

The Windows account (including domain name if applicable) to be added to the list of allowed client accounts.

Aliases

none

Required?

true

Position?

1

Default Value

none

Accept Pipeline Input?

false

Accept Wildcard Characters?

false

-Force

By default, the Grant-AFCacheAllowedClientAccount command performs validation of the account before granting the account client permissions. Validation checks that the account is not already in the list of the allowed clients and that the account has a valid SID. The Force switch bypasses account validation.

Aliases

none

Required?

false

Position?

2

Default Value

none

Accept Pipeline Input?

false

Accept Wildcard Characters?

false

<CommonParameters>

This cmdlet supports the common parameters: -Verbose, -Debug, -ErrorAction, -ErrorVariable, -OutBuffer, and -OutVariable. For more information, see about_CommonParameters

Examples

PS C:\>

Get-AFCacheAllowedClientAccount

Revoke-AFCacheAllowedClientAccount