Install-NCacheModule
This PowerShell cmdlet enables the user to deploy provider assemblies from the specified assembly path to the deployment folder (%NCHOME%\deploy
).
Note
This feature is also available in the NCache Community Edition.
Install-NCacheModule -AssemblyPath -CacheName [-NoLogo] [-Port] [-Server] [-Credentials]
Examples
- This command deploys the assembly for demoCache.
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 -CacheName 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 the NCache Service is listening. | 8250 |
-NoLogo |
<SwitchParameter> |
Suppresses display of the logo banner. | False |
-Credentials |
<pscredential> |
Specifies the user credentials required to authorize access for the specified operation. These credentials should belong to a user who has appropriate permissions at the node. | - |