Unregister-AFCacheHost

Unregister-AFCacheHost

Removes a cache host entry from a cache cluster configuration store.

Syntax

Parameter Set: ThisHost
Unregister-AFCacheHost [[-ProviderType] <String> ] [[-ConnectionString] <String> ] [-PreserveLogOn] [-RemoveServicePermissions] [ <CommonParameters>]

Detailed Description

Removes a cache host entry from a cache cluster configuration store. If the current host is being un-registered, the ComputerName parameter is not required. In this case, the ProviderType and ConnectionString parameters are also optional, assuming that the current cache host is configured and the Remove-AFCacheHostLocalConfiguration command has not been called on the cache host.

Parameters

-ComputerName<String>

The name of the cache host to unregister from the cache cluster. If this value is not provided, the current cache host is used. If this value is provided, the ProviderType and ConnectionString parameters are required.

Aliases

none

Required?

true

Position?

named

Default Value

none

Accept Pipeline Input?

false

Accept Wildcard Characters?

false

-ConnectionString<String>

The connection string to the provider that contains the cache cluster configuration store.

Aliases

none

Required?

false

Position?

2

Default Value

none

Accept Pipeline Input?

false

Accept Wildcard Characters?

false

-PreserveLogOn

When used with the RemoveServicePermissions parameter, the logon permissions of the user account are maintained in the database. Only the access permissions on the configuration database are removed. This parameter only applies to non-XML providers. Applies to AppFabric 1.1 for Windows Server only.

Aliases

none

Required?

false

Position?

named

Default Value

none

Accept Pipeline Input?

false

Accept Wildcard Characters?

false

-ProviderType<String>

The provider used to store the cluster configuration settings.

XML

System.Data.SqlClient

[Custom Provider Name]

Aliases

none

Required?

false

Position?

1

Default Value

none

Accept Pipeline Input?

false

Accept Wildcard Characters?

false

-RemoveServicePermissions

Remove permissions/ACLs for service account from cache cluster configuration store.

Aliases

none

Required?

false

Position?

named

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

Register-AFCacheHost