I have made a few pages using the powershell asp from powertoys and most works until i start to program pulling ILM 2007 data.
I can run the command from the powershell command line but get the following error when run from the web page.
A user was denied access for an operation.
Additional Details
User: "COMPUTERNAME\COMPUTERNAME$" Operation attempted:"CServer::GetEnumInterface"
For more information, see Help and Support Center at
http://go.microsoft.com/fwlink/events.asp.
Following is the line i run from the command line
Get-WmiObject -Class MIIS_ManagementAgent -Namespace root/MicrosoftIdentityIntegrationServer |Format-Table __Server,__CLASS,Name,Type
The html is
<h1> MIIS </h1>
<div align=left>
<table cellpadding=2>
<tr><td align=center>Server</td><td align=center>Class</td><td align=center>Name</td><tdalign=center>Type</td></tr>
<% Get-WmiObject -Class MIIS_ManagementAgent -Namespace root/MicrosoftIdentityIntegrationServer |Format-Table __Server,__CLASS,Name,Type| %{ %>
<tr>
<td align=left><%=$_.Name%></td>
<td align=center><%=$_.Type%></td>
</tr>
<% } %>
</table>
</div>
<message edited by diesoeloreo on Saturday, December 06, 2008 6:46 PM>