Enable-NCacheSecurity - PowerShell Cmdlet
This PowerShell Cmdlet activates NCache security on a server by verifying admin credentials, which can be local or NCache-specific.
Note
This feature is only available in NCache Enterprise.
Enable-NCacheSecurity [-AdminCredentials] [-Server] [-WriteToServiceConfig]
Examples of Enable-NCacheSecurity - PowerShell Cmdlet
This PowerShell Cmdlet enables NCache security on the server with the IP address 20.200.20.11. Before enabling security, the PowerShell Cmdlet validates that John Smith has the necessary privileges on the server.
Enable-NCacheSecurity -Server 20.200.21.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 |
---|---|---|---|
-AdminCredentials* |
<pscredential> |
Specifies the credentials of an LDAP user with administrative rights on the given server. | - |
-Server* |
<String> |
Specifies the IP addresses of the servers where security should be enabled. This parameter can accept multiple IP addresses, allowing you to enable security on multiple servers simultaneously. | - |
-WriteToServiceConfig |
<SwitchParameter> |
Specifies whether to write to service configurations. | False |