• Products
  • Solutions
  • Customers
  • Resources
  • Company
  • Pricing
  • Download
Try Playground
Show / Hide Table of Contents

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.

  • Windows PowerShell
  • Linux CLI
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
enable-ncachesecurity [-adminuserid] [-adminpassword] [-server] [-writecredentialstoserviceconfig]

Examples of Enable-NCacheSecurity

This command enables NCache security on the server with the IP address 20.200.20.11. Before enabling security, the command validates that John Smith has the necessary privileges on the server.

enable-ncachesecurity -server 20.200.21.11 -adminuserid john_smith -adminpassword pass12345

Properties

Note

The parameters with asterisk (*) on their names are the required parameters and the rest are optional.

Parameters     Data Types Description Default Value
-admin-user-id* <String> Specifies the user ID of an LDAP user with administrative rights on the given server. These credentials should belong to a user who has appropriate permissions at the node. -
-admin-password* <String> Specifies the password of an LDAP user with administrative rights on the given server. These credentials should belong to a user who has appropriate permissions at the node. -
-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. -
-write-credentials-to-service-config <SwitchParameter> Specifies whether to write to service configurations. False
In This Article
  • Examples of Enable-NCacheSecurity - PowerShell Cmdlet
  • Properties
  • Examples of Enable-NCacheSecurity
  • Properties

Contact Us

PHONE

+1 (214) 764-6933   (US)

+44 20 7993 8327   (UK)

 
EMAIL

sales@alachisoft.com

support@alachisoft.com

NCache
  • NCache Enterprise
  • NCache Professional
  • Edition Comparison
  • NCache Architecture
  • Benchmarks
Download
Pricing
Try Playground

Deployments
  • Cloud (SaaS & Software)
  • On-Premises
  • Kubernetes
  • Docker
Technical Use Cases
  • ASP.NET Sessions
  • ASP.NET Core Sessions
  • Pub/Sub Messaging
  • Real-Time ASP.NET SignalR
  • Internet of Things (IoT)
  • NoSQL Database
  • Stream Processing
  • Microservices
Resources
  • Magazine Articles
  • Third-Party Articles
  • Articles
  • Videos
  • Whitepapers
  • Shows
  • Talks
  • Blogs
  • Docs
Customer Case Studies
  • Testimonials
  • Customers
Support
  • Schedule a Demo
  • Forum (Google Groups)
  • Tips
Company
  • Leadership
  • Partners
  • News
  • Events
  • Careers
Contact Us

  • EnglishChinese (Simplified)FrenchGermanItalianJapaneseKoreanPortugueseSpanish

  • Contact Us
  •  
  • Sitemap
  •  
  • Terms of Use
  •  
  • Privacy Policy
© Copyright Alachisoft 2002 - 2025. All rights reserved. NCache is a registered trademark of Diyatech Corp.
Back to top