How to tell which Application pool an IIS worker process belongs to
How to tell which Application pool an IIS worker process belongs to
Recently speaking at a conference where I was presenting an IIS crash course, several attendees came up to me after the session and asked how they could tell which IIS worker process belonged to which application pool. This information is presented in the graphical task manager, but is tricky to find using PowerShell.
Because so many folks were curious, I decided to share with everyone. Here ya go!
PS> Get-WmiObject –class win32_process -filter ‘name=”w3wp.exe”‘ | Select-Object –Property Name, ProcessId, @{n=’AppPool’;e={$_.GetOwner().user}}
IIS and PowerShell combined rock!
The Inadvertent IIS administrator
Jason Helmick
Director of PowerShell Technologies
Interface Technical Training
You May Also Like
Application Pool, AppPool, GetOwner, IIS, Powershell, WmiObject
A Simple Introduction to Cisco CML2
0 3859 0Mark Jacob, Cisco Instructor, presents an introduction to Cisco Modeling Labs 2.0 or CML2.0, an upgrade to Cisco’s VIRL Personal Edition. Mark demonstrates Terminal Emulator access to console, as well as console access from within the CML2.0 product. Hello, I’m Mark Jacob, a Cisco Instructor and Network Instructor at Interface Technical Training. I’ve been using … Continue reading A Simple Introduction to Cisco CML2
Cable Testers and How to Use them in Network Environments
0 713 1This content is from our CompTIA Network + Video Certification Training Course. Start training today! In this video, CompTIA Network + instructor Rick Trader demonstrates how to use cable testers in network environments. Let’s look at some tools that we can use to test our different cables in our environment. Cable Testers Properly Wired Connectivity … Continue reading Cable Testers and How to Use them in Network Environments
Difference Between $_ and $PSItem in Windows PowerShell
2 1906 4In this video, I’m going to answer a very common question that I get when I’m teaching Windows PowerShell, and that’s, “What’s the difference between what’s called $_ and $PSItem?” Let me explain to you a little bit about what these two variables do. When we’re working with the PowerShell pipeline, and we want to … Continue reading Difference Between $_ and $PSItem in Windows PowerShell
See what people are saying...