Get-Topics cmdlet lists all topics registered on a specified cache. It lists
down the topic names and the respective number of subscribers and publishers
against each topic name.
Get-Topics [-CacheName] [-Server] [-Port] [-Detail] [-ShowAll] [-NoLogo]
These properties are explained in detail in the Properties section.
-ShowAll are exclusive to NCache Enterprise edition.
- This command lists all topics and number of corresponding subscribers and publishers registered on pubSubCache, existing on local server, using port 8250 by default.
Get-Topics –CacheName pubSubCache
- This command lists all topics and number of corresponding subscribers and publishers registered on pubSubCache existing on server 184.108.40.206 and using default port 8250.
Get-Topics –CacheName pubSubCache –Server 220.127.116.11
- This command lists all the topics with durable subscriptions and their details.
Get-Topics -CacheName pubSubCache -Detail
- This command lists all the topics (default and user created) along with their durable subscriptions and their details.
Get-Topics -CacheName pubSubCache -ShowAll
Note: The parameters with asterisk (*) on their names are the required parameters and the rest are optional.
|Parameters||Data Type||Description||Default Value|
||Cache name for which the topics are to be listed.||-|
||The server name on which the NCache service is running.||IP of the local machine|
||The port on which NCache server is listening.||8250|
||Specifies the durable subscription details to be included in result.||-|
||Specifies the default and user created topics to be included in result.||-|
||Suppresses display of the logo banner.||-|