• Products
  • Solutions
  • Customers
  • Resources
  • Company
  • Pricing
  • Download
Try Playground
  • PowerShell on Windows
  • Install PowerShell without NCache Installation
Show / Hide Table of Contents
  • Command-Line Interface
  • Cmdlets in Different Editions
  • PowerShell on Windows
    • Setting Up PowerShell Environment
    • Install PowerShell without NCache Installation
  • Install-NCacheModule
  • Client Management
    • Add-ClientNode
    • Remove-ClientNode
    • Add-ClientNodeSecurity
  • Cache Management
    • New-Cache
    • Start-Cache
    • Stop-Cache
    • Set-CacheConfiguration
    • Export-CacheData
    • Export-CacheKeys
    • Export-CacheConfiguration
    • Get-CacheCount
    • Clear-Cache
    • Remove-Cache
    • Set-NCServiceConfigSetting
  • Client Cache
    • New-ClientCache
    • Add-ClientCacheRefDatatype
    • Remove-ClientCacheRefDatatype
    • Remove-ClientCache
  • Node Management
    • Add-Node
    • Remove-Node
  • Query Index
    • Add-QueryIndex
    • Remove-QueryIndex
  • Loader & Refresher
    • Add-LoaderDataSet
    • Invoke-RefresherDataset
    • Remove-LoaderDataSet
    • Add-StartupLoader
    • Remove-StartupLoader
  • DataSource Providers
    • Add-BackingSource
    • Remove-BackingSource
  • Custom Dependency
    • Add-CustomDependency
    • Remove-CustomDependency
  • Pub/Sub Messaging
    • Get-Topics
  • Bridge
    • New-Bridge
    • Add-BridgeNode
    • Add-BridgeCache
    • Start-Bridge
    • Set-BridgeCacheMode
    • Start-BridgeStateTransfer
    • Stop-Bridge
    • Remove-Bridge
    • Remove-BridgeCache
    • Remove-BridgeNode
  • Mapreduce
    • Add-MapReduce
  • Compact Serilaization
    • Add-CompactType
    • Add-PortableType
    • Remove-PortableType
    • Remove-CompactType
  • Security
    • Enable-NCacheSecurity
    • Add-NCacheUserOrGroup
    • Remove-NCacheUserOrGroup
    • Enable-NCacheTLS
    • Disable-NCacheTLS
    • Disable-NCacheSecurity
    • Enable-NCEncryption
    • Disable-NCEncryption
  • Data Persistence
    • Suspend-NCacheDataPersistence
    • Resume-NCacheDataPersistence
  • Monitoring
    • Get-Caches
    • Get-CacheLogs
    • Get-CacheLogsList
    • Get-ConnectedClients
    • Get-CacheClientStatistics
    • Get-CacheServerStatistics
    • Add-TestData
    • Test-Stress
    • Get-ClusterHealth
    • New-MemoryDump
    • Get-MemoryDumpList
    • Send-MemoryDump
    • Remove-MemoryDump
    • Measure-CachePerformance
    • Invoke-ServerLogger
    • Import-CacheData
  • Management Center
    • Start-NCacheManagementCenter
    • Stop-NCacheManagementCenter
    • Set-CacheServerPublicIP
  • NCache Playground
    • Start-NCachePlaygroundProcess
    • Stop-NCachePlaygroundProcess
  • NCache Registration
    • Register-NCache
    • Register-NCacheEvaluation
    • Unregister-NCache
    • Get-NCacheVersion

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 click on Run as Administrator.

  • Set script execution policy to RemoteSigned to allow 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.Professional
Install-Module -Name NCache.OpenSource
  • To use a specific version of NCache module:
Install-Module -Name NCache -RequiredVersion 5.0.3

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 installed successfully, you can execute the following commands:

  • The following command displays the list of all modules installed on the machine. Verify that you see NCache listed with the proper version.
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.Professional
Get-Command –Module NCache.OpenSource
  • You can also verify by searching "NCache" on https://www.powershellgallery.com/.

Step 4: Use NCache PowerShell Cmdlets

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

The following example shows how to get complete help for Get-Caches tool:

Get-Help Get-Caches –Full
In This Article
  • Step 1: Run PowerShell as Administrator
  • Step 2: Install NCache Modules
    • Troubleshooting
  • Step 3: Verify Successful Module Installation
  • Step 4: Use NCache PowerShell Cmdlets

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