• Webinars
  • Docs
  • Download
  • Blogs
  • Contact Us
Try Free
Show / Hide Table of Contents

Install-NCacheModule

Note

This feature is only available in NCache Enterprise Edition.

Install-NCacheModule cmdlet enables the user to deploy provider assemblies from the specified assembly path to the deployment folder named 'deploy' in NCache installed directory.

Install-NCacheModule -AssemblyPath [-CacheName] [-NoLogo] [-Password] [-Port] [-Server] [-UserId]

These properties are explained in detail in the Properties section.

Examples

  • This command deploys the assembly for a cache named demoCache using default port 8250.
Install-NCacheModule -CacheName demoCache -AssemblyPath C:\Provider.dll
  • This command deploys the assembly for a cache named demoCache on server 20.200.20.11.
Install-NCacheModule demoCache -AssemblyPath C:\Provider.dll –Server 20.200.20.11

Properties

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

Parameters Data Types Description Default Value
-CacheName* <String> Specifies the name of the Cache for assembly deployment. -
-AssemblyPath* <String> Specifies the path of the assembly to be imported. -
-Server <String> Specifies the NCache server name or ip as per user requirement. -
-Port <Integer> Specifies the server port where NCache server is listening. 8250
-UserId <String> Specifies the User Id used to authorize a user if security is enabled on cache server. This User Id must be the same as the active directory user credentials. -
-Password <String> Specifies the password against the user Id; to authorize a user if security is enabled on cache server. This password must be the same as active directory password. -
-NoLogo <SwitchParameter> Suppresses display of the logo banner. False
Back to top Copyright © 2017 Alachisoft