If you want to use reflector on the c# code that is called when someone executes a SharePoint Powershell command, you’ll be searching for the microsoft.office.powershell.dll.

You will not find this dll in the 14 rootfolder, because appearantly it only exists in the Global Assembly Cache!

While in reflector, press File > Open and type “C:\Windows\assembly\GAC_MSIL\Microsoft.SharePoint.PowerShell\” .
Here you’ll find the assembly you were searching for!

hope this helps,
Tom

VN:F [1.9.22_1171]
Rating: 9.0/10 (1 vote cast)
VN:F [1.9.22_1171]
Rating: 0 (from 0 votes)
, 9.0 out of 10 based on 1 rating