Disable-NCacheSecurity
This PowerShell Cmdlet disables NCache security on a specified server. It verifies the provided admin credentials, which can either belong to a local admin (a domain user) on the server or an NCache admin configured on that node. Once the credentials are successfully verified, NCache security is disabled on the server.
Disable-NCacheSecurity -Server [-AdminCredentials]
Examples of Disable-NCacheSecurity
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.
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 the IP addresses of the servers where security should be disabled. This parameter can accept multiple IP addresses, allowing you to enable security on multiple servers simultaneously. | - |
-AdminCredentials* |
<pscredential> |
Specifies the credentials of an LDAP user with administrative rights on the given server. | - |