Forum Discussion

Brent_Rubeck_19's avatar
Brent_Rubeck_19
Icon for Nimbostratus rankNimbostratus
Apr 27, 2015

Use PowerShell to Determine the number of current connections

Hello & Thank you in advance.

 

We are working on a Proof of Concept for Octopus Deploy. What I am needing is a way to use PowerShell to determine the number of connections to a node. I am wanting my script to say something to the effect of.

 

if of connections is greater than 0, wait 30 seconds, check again, when number of connections equal zero continue with deployment.

 

I have been through the iControl Cmdlets, and have done a fairly extensive web search. I am still at a loss. If anybody has knowledge of how to accomplish this or a link to the correct documentation, I would be forever grateful.

 

Thanks Again