Start-Cache
Start-Cache
cmdlet enables the user to start a cache or multiple caches on a single server node (either local or remote).
Start-Cache [-Name] [-Server] [-Port] [-NoLogo]
The parameters along with their descriptions are explained below.
Examples
- This command starts the cache named demoClusteredCache on local server.
Start-Cache –Name demoClusteredCache
- This command starts the caches named demoLocalCache and demoClusteredCache on local server.
Start-Cache –Name demoLocalCache,demoClusteredCache
- This command starts the cache named demoClusteredCache on server node 20.200.20.30 using port number 8250.
Start-Cache -Name demoClusteredCache –Server 20.200.20.30 –port 8250
Note: The parameters with asterisk (*) on their names are the required parameters and the rest are optional.
Parameters | Data Types | Description | Default Value |
---|---|---|---|
-Name* |
<String> |
Specifies one or more name(s) of caches separated by comma which are registered on the server. Those cache(s) is/are started on the server. Note: Comma separated cache names are to be specified in case of multiple caches only. | - |
-Server |
<String> |
Specifies the server name where NCache Service is running and the user wants to start the cache on that particular server node. | Local Machine |
-Port |
<Long> |
Specifies the management port on which the NCache server is listening if the server channel is not using the default port. | 8250 |
-NoLogo |
<SwitchParameter> |
Suppresses display of the logo banner. | False |
See Also
Set Up PowerShell Environment
Export-CacheData
Export-CacheKeys
Stop-Cache
TroubleShooting