Unregister-CacheHost

Unregister-CacheHost

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

Syntax

Parameter Set: ThisHost
Unregister-CacheHost [[-Provider] <String> ] [[-ConnectionString] <String> ] [-RemoveServicePermissions] [ <CommonParameters>]

Detailed Description

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

Parameters

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

-HostName<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 Provider and ConnectionString parameters are required.

Aliases

none

Required?

true

Position?

named

Default Value

none

Accept Pipeline Input?

false

Accept Wildcard Characters?

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

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

<CommonParameters>

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

Examples

Register-CacheHost