cancel
Showing results for 
Search instead for 
Did you mean: 

Can we run commands remotely using Prognosis?

GeraldC1
Community Manager

Can we run commands remotely using Prognosis?

Can we run commands remotely using Prognosis?

1 ACCEPTED SOLUTION

Accepted Solutions
GeraldC1
Community Manager

Re: Can we run commands remotely using Prognosis?

Yes we can. The Prognosis Client for Windows has a Commands feature. 

 

Here's more details about it in Online Help, and a short video showing a few examples:

 

https://help.prognosis.com/server/121/system-functions/commands

 

<script type="text/javascript" async src="https://play.vidyard.com/embed/v4.js"></script>

 

 

 

Steps in this video:

1. Login into the Prognosis Client connected to the managing node server. This will have a view of all the managed servers. We can then drag commands onto any Prognosis server in our environment.

2. Right client in Document Navigator and select New > Command

3. Fill in a name,  the command, and save it.

4. Drag the command onto a Prognosis server. 

 

Examples in the video:

  • Checking what ciphers are enabled on Windows
    powershell -command "get-tlsciphersuite" | findstr ^Name
  • Checking for port exhaustion on Windows
    powershell -command "Get-NetTCPConnection | Group-Object -Property State, OwningProcess | Select -Property Count, Name, @{Name=\"ProcessName\";Expression={(Get-Process -PID ($_.Name.Split(',')[-1].Trim(' '))).Name}} | Sort Count -Descending | select -First 10"
  • Tailing a log file.
    powershell -command "gc -wait -tail 10 \"E:\Prognosis\Server\Configuration\Messaging\RabbitMQ\log\rabbit~1.log\""

View solution in original post

1 REPLY 1
GeraldC1
Community Manager

Re: Can we run commands remotely using Prognosis?

Yes we can. The Prognosis Client for Windows has a Commands feature. 

 

Here's more details about it in Online Help, and a short video showing a few examples:

 

https://help.prognosis.com/server/121/system-functions/commands

 

<script type="text/javascript" async src="https://play.vidyard.com/embed/v4.js"></script>

 

 

 

Steps in this video:

1. Login into the Prognosis Client connected to the managing node server. This will have a view of all the managed servers. We can then drag commands onto any Prognosis server in our environment.

2. Right client in Document Navigator and select New > Command

3. Fill in a name,  the command, and save it.

4. Drag the command onto a Prognosis server. 

 

Examples in the video:

  • Checking what ciphers are enabled on Windows
    powershell -command "get-tlsciphersuite" | findstr ^Name
  • Checking for port exhaustion on Windows
    powershell -command "Get-NetTCPConnection | Group-Object -Property State, OwningProcess | Select -Property Count, Name, @{Name=\"ProcessName\";Expression={(Get-Process -PID ($_.Name.Split(',')[-1].Trim(' '))).Name}} | Sort Count -Descending | select -First 10"
  • Tailing a log file.
    powershell -command "gc -wait -tail 10 \"E:\Prognosis\Server\Configuration\Messaging\RabbitMQ\log\rabbit~1.log\""
Webinar: Keep the modern workforce connected

Unified Communications has always been an important part of companies' digital transformation efforts due to its ability to enable rich virtual collaboration and communication. But with COVID-19, we've reached a break-through point.

Join Bill Haskins, Sr. Analyst & Partner, Unified Communications at Wainhouse Research, and John Ruthven, CEO at IR discuss UC challenges companies are experiencing due to the COVOID-19 crisis.

Join webinar
Top Liked Members