I want to get the status of the application pool from IIS with .net
I am using the following powershell command : Get-IISAppPool | Select-Object State
Get-IISAppPool | Select-Object State