Register-CacheHost
Register-CacheHost
Adds a cache host to the specified cache cluster configuration store.
Syntax
Parameter Set: Default
Register-CacheHost [-Provider] <String> [-ConnectionString] <String> [-Account <String> ] [-ArbitrationPort <Int32> ] [-CachePort <Int32> ] [-ClusterPort <Int32> ] [-HostName <String> ] [-ReplicationPort <Int32> ] [-Confirm] [-WhatIf] [ <CommonParameters>]
Parameters
-Account<String>
The Windows account name that is used to run the Caching Service. This should only be specified for the non-production Workgroup scenario. Domain configurations should use the default "NT Authority\Network Service" account.
Aliases |
none |
Required? |
false |
Position? |
named |
Default Value |
none |
Accept Pipeline Input? |
false |
Accept Wildcard Characters? |
-ArbitrationPort<Int32>
The arbitration port number of the cache host.
Aliases |
none |
Required? |
false |
Position? |
named |
Default Value |
none |
Accept Pipeline Input? |
false |
Accept Wildcard Characters? |
-CachePort<Int32>
The cache port number of the cache host.
Aliases |
none |
Required? |
false |
Position? |
named |
Default Value |
22233 |
Accept Pipeline Input? |
false |
Accept Wildcard Characters? |
-ClusterPort<Int32>
The cluster port number of the cache host.
Aliases |
none |
Required? |
false |
Position? |
named |
Default Value |
22234 |
Accept Pipeline Input? |
false |
Accept Wildcard Characters? |
-ConnectionString<String>
The connection string to the provider that contains the cache cluster configuration store.
Aliases |
none |
Required? |
true |
Position? |
2 |
Default Value |
none |
Accept Pipeline Input? |
false |
Accept Wildcard Characters? |
-HostName<String>
The name of the cache host to register in the cache cluster. If this value is not provided, the current cache host is used.
Aliases |
none |
Required? |
false |
Position? |
named |
Default Value |
local host |
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? |
true |
Position? |
1 |
Default Value |
none |
Accept Pipeline Input? |
false |
Accept Wildcard Characters? |
-ReplicationPort<Int32>
The replication port number of the cache host.
Aliases |
none |
Required? |
false |
Position? |
named |
Default Value |
22236 |
Accept Pipeline Input? |
false |
Accept Wildcard Characters? |
-Confirm
Prompts you for confirmation before executing the command.
Required? |
false |
Position? |
named |
Default Value |
none |
Accept Pipeline Input? |
false |
Accept Wildcard Characters? |
false |
-WhatIf
Describes what would happen if you executed the command without actually executing the command.
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