Disable-NCacheSecurity
This PowerShell cmdlet disables NCache security on a specified server. The cmdlet verifies the provided administrative credentials, which may belong to a local or domain administrator on the server or an NCache administrator configured on that node. Once the credentials are successfully verified, NCache security is disabled on the server. Security can only be restored by explicitly re-enabling it using the Enable-NCacheSecurity cmdlet.
Disable-NCacheSecurity -Server -AdminCredentials
Examples
This PowerShell cmdlet disables NCache security on the server with the IP address 20.200.20.11. Before disabling security, it verifies that the user John Smith has the necessary permissions on the server using security credentials.
Disable-NCacheSecurity -Server 20.200.20.11 -AdminCredentials (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 a server name where the NCache Service is running and a cache with the specified cache-name is registered. You can specify the IP addresses of the servers where security should be disabled. This parameter can accept multiple IP addresses, allowing you to disable security on multiple servers simultaneously. | - |
-AdminCredentials* |
<pscredential> |
Specifies the credentials of an LDAP user with administrative rights on the given server. | - |