-
Posted to
IIS 7.0 - PowerShell
by
spencer205
on
11-12-2008, 11:19 PM
Got it.It seems that running this from the script invoked by the service will do the trick:
add-pssnapin IIsProviderSnapIn
See http://forums.iis.net/p/1148874/1867336.aspx for more info.
-
Posted to
IIS 7.0 - PowerShell
by
spencer205
on
11-11-2008, 5:16 PM
Hi All,
I've written a WCF service that hosts PowerShell in it. When certain sys-admin-ie operations on the service are invoked, it calls a PowerShell script via this custom host. This is done, so that sys admins can modify the PowerShell script without the Web service needing to be recompiled or redeployed.
One of the ...
-
Posted to
IIS 7.0 - PowerShell
by
spencer205
on
11-11-2008, 2:53 PM
I'm getting this error too. Has this been fixed yet?