Disable-NCEncryption
This NCache cmdlet disables encryption on a specified cache. Once encryption is disabled, data will no longer be encrypted or decrypted at the client-side. All new data added to the cache will be stored in serialized form as configured, both during transit and at rest. This should only be used when encryption is no longer required or for troubleshooting purposes where encryption might interfere with normal cache operations.
Disable-NCEncryption [-Server] [-Port] [-CacheName] [-Credentials]
Examples of Disable-NCEncryption
- This command disables the encryption on the cache server at 20.200.20.11 for the democache.
Disable-NCEncryption -CacheName demoCache -Server 20.200.20.11
- This command disables the encryption on the cache server at 20.200.20.11 for the democache, using credentials for authentication.
Disable-NCEncryption -CacheName demoCache -Server 20.200.20.11 -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 |
---|---|---|---|
-Server |
<String> |
Specifies the IP address of the server where the target cache is hosted. Multiple server IPs can be provided as a comma-separated list. | - |
-Credentials |
<pscredential> |
Specifies the user credentials required to authenticate and authorize access when disabling encryption on a remote cache server. | - |
-Port |
<Long> |
Specifies the port on which the NCache Service is listening. | 8250 |
-CacheName* |
<String> |
Specifies the name of the cache where encryption should be disabled. | - |