• Facebook
  • Twitter
  • Youtube
  • LinedIn
  • RSS
  • Docs
  • Comparisons
  • Blogs
  • Download
  • Contact Us
Download
Show / Hide Table of Contents

Install PowerShell without NCache Installation

NCache allows you to install the NCache Powershell module on your machines without installing NCache at all. This module contains all the cmdlets as provided in the PowerShell module ncacheps that is shipped with NCache. You can use these cmdlets to manage, configure and test NCache from a remote machine without any installation.

Important

The NCache module is supported in both Windows and Linux environments. Commands that do not take the -Server parameter will not work with this module.

To install NCache PowerShell Module:

Step 1: Run PowerShell as Administrator

  • Search for Windows PowerShell and right-click on the Windows PowerShell result and select Run as Administrator. This launches PowerShell with administrative privileges.

  • Set script execution policy to RemoteSigned to allow for remote execution:

Set-ExecutionPolicy RemoteSigned

Step 2: Install NCache Modules

Execute the following commands in PowerShell according to your required NCache release module:

  • To use latest released modules:
Install-Module -Name NCache
Install-Module -Name NCache.Community
Install-Module -Name NCache.OpenSource
  • To use a specific version of NCache module:
Install-Module -Name NCache -RequiredVersion 5.3.5

Troubleshooting

If the aforementioned steps throw an error, then execute the following commands one by one:

Install-Module -Name PackageManagement -Repository PSGallery -Force
Install-Module -Name PowerShellGet -Repository PSGallery -Force
Important

Restart PowerShell as an Administrator after executing these commands.

Step 3: Verify Successful Module Installation

To verify that the module is successfully installed, you can execute the following commands:

  • The following command displays the list of all modules installed on the machine. Verify that you see the proper version of NCache listed.
Get-InstalledModule
  • To list all commands associated with the NCache module you just installed, execute the required command in PowerShell according to the NCache edition:
Get-Command –Module NCache
Get-Command –Module NCache.Community
Get-Command –Module NCache.OpenSource
  • You can also verify by searching "NCache" on PowerShell Gallery.

Step 4: Use NCache PowerShell Cmdlets

  • To get help when using these tools, execute the following command in PowerShell or refer to our PowerShell Reference:
Get-Help <CmdletName> –Full

The following example demonstrates how to refer to the complete guidelines for the Get-Caches tool:

Get-Help Get-Caches –Full

Contact Us

PHONE

+1 (214) 764-6933   (US)

+44 20 7993 8327   (UK)

 
EMAIL

sales@alachisoft.com

support@alachisoft.com

NCache
  • NCache Enterprise
  • NCache Community
  • 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 - . All rights reserved. NCache is a registered trademark of Diyatech Corp.
Back to top