Resume-NCacheDataPersistence
This PowerShell cmdlet enables the user to resume the suspended data persistence on the persistence store.
Resume-NCacheDataPersistence -CacheName [-Server] [-Port]
Examples
- This command resumes the suspended data persistence of the cache named demoCache on the persistence store.
Resume-NCacheDataPersistence -CacheName demoCache
- This command resumes the suspended data persistence of the cache named demoCache on the persistence store on the server 20.200.20.11.
Resume-NCacheDataPersistence -CacheName demoCache -Server 20.200.20.11
- This command resumes the suspended data persistence of the cache named demoCache on the persistence store, using security credentials.
Resume-NCacheDataPersistence -CacheName demoCache -Credentials(Get-Credential john_smith)
Properties
Note
The parameters with asterisk (*) on their names are the required parameters and the rest are optional.
| Parameters |
Data Types |
Description |
Default Value |
-CacheName* |
<String> |
Specifies the name of the cache to resume persistence. It should be a running cache with persistence. |
- |
-Server |
<String> |
Specifies the NCache server names where Cache is configured, separated by commas e.g. 20.200.20.11, 20.200.20.12 |
Local Machine |
-Port |
<Integer> |
Specifies the port on which the NCache Service is listening. |
8250 |
-Credentials |
<pscredential> |
Specifies the user credentials required to authorize access for the specified operation. These credentials should belong to a user with the appropriate permissions at the node. |
- |
resume-ncachedatapersistence -cachename [-server] [-port]
Examples
- This command resumes the suspended data persistence of the cache named demoCache on the persistence store.
resume-ncachedatapersistence -cachename demoCache
- This command resumes the suspended data persistence of the cache named demoCache on the persistence store on the server 20.200.20.11.
resume-ncachedatapersistence -cachename demoCache -server 20.200.20.11
- This command resumes the suspended data persistence of the cache named demoCache on the persistence store, using security credentials.
resume-ncachedatapersistence -cachename demoCache -userid john_smith -password pass123
Properties
Note
The parameters with asterisk (*) on their names are the required parameters and the rest are optional.
| Parameters |
Data Types |
Description |
Default Value |
-cachename* |
<String> |
Specifies the name of the cache to resume persistence. It should be a running cache with persistence. |
- |
-server |
<String> |
Specifies the NCache server names where Cache is configured, separated by commas e.g. 20.200.20.11, 20.200.20.12 |
Local Machine |
-port |
<Integer> |
Specifies the port on which the NCache Service is listening. |
8250 |
-userid |
<String> |
Specifies the user id used to authorize the user for this operation. It is required in case security is enabled on Cache Server. This user id must be the active directory user id. |
- |
-password |
<String> |
Specifies the password of the user that is used to authorize the user for this operation. It is required in case security is enabled on Cache Server. This password must be the same as the active directory user password. |
- |