Given a specific app pool, is there a way to get the identity associated with it?
In the image above, I am trying to get the "NetworkService".
I've tried the following:
Get-Item IIS:\AppPools\DeFaultAppPool|Select-Object *
It can be found under processModel.identityType: