Quantcast
Channel: Windows PowerShell forum
Viewing all articles
Browse latest Browse all 21975

Sql server thread count using PS>>

$
0
0

HI ,

I am trying to get thread count using below command 

(Get-Process sqlservr |Select-Object -ExpandProperty Threads ).Count

its returning out all sql servers count where i have 2 instances running on machine how do i monitor only instance please do u have any solution i was trying this but its not working .

(Get-Process sqlservr |Select-Object -ExpandProperty Threads| where id -eq 12068).Count

Thanks in advance !!


Viewing all articles
Browse latest Browse all 21975

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>