Get-Topics
Note
This feature is only available in NCache Enterprise and Professional editions.
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] [-NoLogo]
These properties are explained in detail in the Properties section.
Examples
- 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 20.200.20.30 and using default port 8250.
Get-Topics –CacheName pubSubCache –Server 20.200.20.30
- This command lists all topics and number of corresponding subscribers and publishers registered on pubSubCache existing on server 20.200.20.30, using the port 8251.
Get-Topics pubSubCache –Server 20.200.20.30 –Port 8251
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> |
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 |
-NoLogo |
<SwitchParameter> |
Suppresses display of the logo banner. | - |