Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

IIS7 PoSH V2

1 view
Skip to first unread message

Doug

unread,
May 17, 2008, 3:34:04 PM5/17/08
to
I've got CTP2, IIS7 installed on WS2008.

How do I get PowerShell set up running under IIS7?

Does this mean you can create a Web Page with a TextBox.
Enter a 'dir' and you can get thre results back to the Web Page?

RichS [MVP]

unread,
May 18, 2008, 6:25:01 AM5/18/08
to
If you mean can you embed PowerShell code in the same way as VBScript - the
answer is no

You would have to call out to a Powershell script and then get the results
to display or call PowerShell from .NET code
--
Richard Siddaway
All scripts are supplied "as is" and with no warranty
PowerShell MVP
Blog: http://richardsiddaway.spaces.live.com/
PowerShell User Group: http://www.get-psuguk.org.uk

Marco Shaw [MVP]

unread,
May 18, 2008, 8:29:00 PM5/18/08
to

Search through this group for 'asp.net' and you'll find information on
how you can use ASP.NET & PowerShell.

From what I understand, what v2 CTP2 has to offer with regards to IIS,
is that the winrm/remoting piece can now be hosted in IIS.

I'm not sure of the pros/cons of doing so. By default the
winrm/remoting piece uses HTTP.sys (kernel mode driver to do HTTP stuff).

Marco

--
Microsoft MVP - Windows PowerShell
http://www.microsoft.com/mvp

PowerGadgets MVP
http://www.powergadgets.com/mvp

Blog:
http://marcoshaw.blogspot.com

Hal Rottenberg

unread,
May 19, 2008, 8:41:37 AM5/19/08
to
Marco Shaw [MVP] wrote:
> From what I understand, what v2 CTP2 has to offer with regards to IIS,
> is that the winrm/remoting piece can now be hosted in IIS.

Has anyone done this yet? I'd love more info and examples.


--
Author, Tech Prosaic blog (http://halr9000.com)
Webmaster, Psi (http://psi-im.org)
Community Director, PowerShellCommunity.org
Co-host, PowerScripting Podcast (http://powerscripting.net)

0 new messages