Table of Contents

Install-Module

Note

This feature is only available in NCache Enterprise and Professional editions.

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

Install-Module -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-Module -CacheName demoCache -AssemblyPath C:\Provider.dll
  • This command deploys the assembly for a cache named demoCache on server 20.200.21.11 and Port 8251.
Install-Module demoCache -AssemblyPath C:\Provider.dll –Server 20.200.21.11 –Port 8251

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