Try Playground
Show / Hide Table of Contents

Get-Topics

This lists all topics registered on a specified Pub/Sub Messaging cache. It lists down the topic names and the respective number of subscribers and publishers against each Pub/Sub Messaging topic name.

  • Windows PowerShell
  • Linux CLI
Get-Topics [-CacheName] [-Server] [-Port] [-Detail] [-ShowAll] [-NoLogo]  [-Credentials]

These properties are explained in detail in the Properties section.

Note

-Detail and -ShowAll are exclusive to NCache Enterprise.

Examples of Get-Topics

  • This command gets topics registered on demoCache.
Get-Topics –CacheName demoCache
  • This command gets topics registered on demoCache existing on server 20.200.20.11.
Get-Topics –CacheName demoCache –Server 20.200.20.11
  • This command uses port and gets topics registered on demoCache existing on server 20.200.20.11.
Get-Topics -CacheName demoCache -Server 20.200.20.11 -Port 8250
  • This command shows all the subscriptions associated with the topic.
Get-Topics -CacheName demoCache -Detail
  • This command shows details of all the subscribers, publishers, topic priority assigned, subscriptions, and messages associated with the topic.
Get-Topics -CacheName demoCache -ShowAll
  • This command authenticates the credentials provided and lists all topics and number of corresponding subscribers and publishers registered on demoCache, using port 8250 by default.
Get-Topics –CacheName demoCache -Credentials john_smith

Properties

Note

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

Parameters Data Type Description Default Value
-CacheName* <String> Pub/Sub Messaging Cache name for which the topics are to be listed. -
-Server <String> The server name on which the NCache Service is running. IP of the local machine
-Port <Integer> The port on which NCache server is listening. 8250
-Detail <SwitchParameter> Specifies all the subscriptions associated with the topic. -
-ShowAll <SwitchParameter> Specifies details of all the subscribers, publishers, topic priority assigned, subscriptions, and messages associated with the topic. -
-NoLogo <SwitchParameter> Suppresses display of the logo banner. -
-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-topics [-cachename] [-server] [-port] [-detail] [-showall] [-nologo] [-userid] [-password]

These properties are explained in detail in the Properties section.

Note

-detail and -showall are exclusive to NCache Enterprise.

Examples of Get-Topics

  • This command gets topics registered on demoCache.
get-topics –cachename demoCache
  • This command gets topics registered on demoCache existing on server 20.200.20.11.
get-topics –cachename demoCache –server 20.200.20.11
  • This command uses port and gets topics registered on demoCache existing on server 20.200.20.11.
get-topics –cachename demoCache -server 20.200.20.11 -port 8250
  • This command shows all the subscriptions associated with the topic.
get-topics -cachename demoCache -detail
  • This command shows details of all the subscribers, publishers, topic priority assigned, subscriptions, and messages associated with the topic.
get-topics –cachename demoCache -showall
  • This command authenticates the credentials provided and lists all topics and number of corresponding subscribers and publishers registered on demoCache, using port 8250 by default.
get-topics –cachename demoCache -userid john_smith -password pass123

Properties

Note

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

Parameters Data Type Description Default Value
-cachename* <String> Pub/Sub Messaging Cache name for which the topics are to be listed. -
-server <String> The server name on which the NCache Service is running. IP of the local machine
-port <Integer> The port on which NCache server is listening. 8250
-detail <SwitchParameter> Specifies all the subscriptions associated with the topic. -
-showall <SwitchParameter> Specifies details of all the subscribers, publishers, topic priority assigned, subscriptions, and messages associated with the topic. -
-nologo <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. -
-userid <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-Topics
  • Properties
  • Examples of Get-Topics
  • 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