Try Playground
Show / Hide Table of Contents

Get-Caches

This enables the user to get the list of the total caches registered on the server along with their topology and status individually if they are running or not with process id.

Note

This feature is also available in NCache Professional and NCache Open Source, please keep in mind that NCache Open Source has different parameters in some Cmdlet instances.

  • Windows PowerShell
  • Linux CLI
Get-Caches [-Server] [-Port] [-InMemoryStoreType] [-Topology] [-Detail] [-NoLogo] [-Credentials]

Examples of Get-Caches

  • This command displays all caches registered on local machine.
Get-Caches
  • This command displays all caches currently registered on the server 20.200.20.11 with detailed information.
Get-Caches -Detail -Server 20.200.20.11
  • This command displays all caches currently registered on the server 20.200.20.11 with detailed information.
Get-Caches -Detail
  • This command displays all DistributedCacheWithPersistence caches currently registered on the server 20.200.20.11 with detailed information.
Get-Caches -Detail -Server 20.200.20.11 -InMemoryStoreType DistributedCacheWithPersistence
  • This command displays all partitioned caches currently registered on the server 20.200.20.11 with detailed information.
Get-Caches -Detail -Server 20.200.20.11 -Topology Partitioned
  • This command displays all DistributedCacheWithPersistence partitioned caches currently registered on the server 20.200.20.11 with detailed information.
Get-Caches -Detail -Server 20.200.20.11 -InMemoryStoreType DistributedCacheWithPersistence -Topology Partitioned

Properties

Note

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

Parameters Data Types Description Default Value
-Server <String> Specifies the server node for which the user wants to get the list of caches registered. -
-Port <Integer> Specifies the server port where the NCache Service is listening. 8250
-InMemoryStoreType <String> Specifies the type of the cache. -
-Topology <String> For topology other than local you have to give topology and cluster port. Specifies the topology in case of clustered cache. -
-Detail <SwitchParameter> Displays a comparatively detailed information about the caches registered on the server. This information includes Cache Name, Scheme, Status, Process ID, Cluster Size, Up Time, Capacity and Count. False
-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. -
get-caches [-server] [-port] [-inmemorystoretype] [-topology] [-detail] [-nologo] [-userid] [-password]

Examples of Get-Caches

  • This command displays all caches registered on local machine.
get-caches
  • This command displays all caches currently registered on the server 20.200.20.11 with detailed information.
get-caches -detail -server 20.200.20.11
  • This command displays all caches currently registered on the server 20.200.20.11 with detailed information.
get-caches -detail
  • This command displays all DistributedCacheWithPersistence caches currently registered on the server 20.200.20.11 with detailed information.
get-caches -detail -server 20.200.20.11 -inmemorystoretype DistributedCacheWithPersistence
  • This command displays all partitioned caches currently registered on the server 20.200.20.11 with detailed information.
get-caches -detail -server 20.200.20.11 -topology Partitioned
  • This command displays all DistributedCacheWithPersistence partitioned caches currently registered on the server 20.200.20.11 with detailed information.
get-caches -detail -server 20.200.20.11 -inmemorystoretype DistributedCacheWithPersistence -topology Partitioned

Properties

Note

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

Parameters Data Types Description Default Value
-server <String> Specifies the server node for which the user wants to get the list of caches registered. -
-port <Integer> Specifies the server port where the NCache Service is listening. 8250
-inmemorystoretype <String> Specifies the type of the cache. -
-topology <String> For topology other than local you have to give topology and cluster port. Specifies the topology in case of clustered cache. -
-detail <SwitchParameter> Displays a comparatively detailed information about the caches registered on the server. This information includes Cache Name, Scheme, Status, Process ID, Cluster Size, Up Time, Capacity and Count. False
-nologo <SwitchParameter> Suppresses display of the logo banner. False
-userid <String> Specifies the user id used to authorize the user for this operation. It is required in case security is enabled on Cache Server. This user id must be the active directory user id. -
-password <String> Specifies the password of the user that is used to authorize the user for this operation. It is required in case security is enabled on Cache Server. This password must be the same as the active directory user password. -
In This Article
  • Examples of Get-Caches
  • Properties
  • Examples of Get-Caches
  • Properties

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