Preparation:
Now you should be able to see new drive (IIS)
Now, to see worker process for specific pool you only need to execute:
To list all process IDs use:
- Enable execution of powershell scripts with command:
Set-ExecutionPolicy RemoteSigned
- Import module for IIS
import-module webadministration
Now you should be able to see new drive (IIS)
get-psdrive
Now, to see worker process for specific pool you only need to execute:
dir 'IIS:\AppPools\myAppPoolName\WorkerProcesses'
To list all process IDs use:
dir IIS:\AppPools | Get-ChildItem | Get-ChildItem | Format-Table -AutoSize processId, appPoolName
No comments:
Post a Comment