Hey,
I need to use my IIS 6 WMI API to list IIS 7 websites. I installed the IIS 6 compatibility mode roles on my IIS7.
The problem is : if my account is not administrator on the remote host, it can execute queries but the queries listing the WebSites returns nothing.
ex: Get-WmiObject IIsWebServerSetting -namespace "ROOT\MicrosoftIISv2" | SELECT ServerComment
I configured the DCOM access, the WMI control security, and metabase rights as well (same as I did on my IIS6, where its working).
No error, but nothing is returned.
Any ideas ?
Thanks !
Joe.