Get-ConnectedClients
This PowerShell cmdlet enables the user to list all registered clients on server. It displays the client machine IP, when machine is activated with server-activated license.
Get-ConnectedClients [-Server] [-Port] [-NoLogo]
Examples
- This command gets all connected clients registered on server.
Get-ConnectedClients
- This command gets all connected clients registered on server 20.200.20.11.
Get-ConnectedClients -Server 20.200.20.11
- This command uses port and gets all connected clients registered on server 20.200.20.11.
Get-ConnectedClients -Server 20.200.20.11 -Port 8250
- This command gets all connected clients registered on server, using security credentials.
Get-ConnectedClients -Credentials(Get-Credential john_smith)
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 a server name where the NCache Service is running and a cache with the specified cache-name is registered, for which the user wants to get the list of clients connected. | IP of local machine |
-Port |
<Long> |
Specifies the server port where the NCache Service is listening. | 8250 |
-NoLogo |
<SwitchParameter> |
Suppresses display of the logo banner. | False |