Start-CacheHost
Start-CacheHost
Starts the Caching Service on the specified cache host. If no cache hosts are up in the cache cluster, use the Start-CacheCluster command instead.
Syntax
Parameter Set: HostParameters
Start-CacheHost [-HostName] <String> [-CachePort] <Int32> [[-HostTimeout] <Int32> ] [ <CommonParameters>]
Detailed Description
This command is able to start the Caching Service on a specific cache host. It should be used in a cache cluster that is currently running. If the cache cluster is down, use the Start-CacheCluster command instead. To determine whether any other cache hosts are up in the cluster, use the Get-CacheHost command without any parameters.
Parameters
-CachePort<Int32>
The cache port number of the cache host.
Aliases |
none |
Required? |
true |
Position? |
2 |
Default Value |
none |
Accept Pipeline Input? |
false |
Accept Wildcard Characters? |
-HostName<String>
The name of the cache host.
Aliases |
none |
Required? |
true |
Position? |
1 |
Default Value |
none |
Accept Pipeline Input? |
false |
Accept Wildcard Characters? |
false |
-HostTimeout<Int32>
The timeout value in seconds for the cache host to start. By default, this is 60 seconds.
Aliases |
none |
Required? |
false |
Position? |
3 |
Default Value |
60 |
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
Outputs
The output type is the type of the objects that the cmdlet emits.
- Microsoft.Data.Caching.AdminApi.HostInfo