« Previous Next »

Thread: How can I use the IIS 7 Powershell snap-in with Windows 7?

Last post 06-16-2009 2:21 PM by sergeia. 6 replies.

Average Rating Rate It (5)

RSS

Page 1 of 1 (7 items)

Sort Posts:

  • 04-17-2009, 6:56 AM

    • BIH
    • Not Ranked
    • Joined on 04-17-2009, 10:39 AM
    • Posts 3

    How can I use the IIS 7 Powershell snap-in with Windows 7?

    I tried installing the IIS 7 Powershell snap-in (both 32 and 64 bit versions) on Windows 7, but I just get the message:

    "The PowerShell snap-in is part of Windows Operating System. Please install it via "Programs and Features' or 'Server Manager'."

    I've looked in "Programs and Features", but I can't see any options relating to it.

     

  • 04-17-2009, 11:23 AM In reply to

    Re: How can I use the IIS 7 Powershell snap-in with Windows 7?

    Might want to report this to the Windows 7 beta groups.

    Jeff

    Look for Wrox's new book Professional IIS 7 in your local bookstore, or order now at Amazon.com
  • 05-15-2009, 12:28 AM In reply to

    • sergeia
    • Top 100 Contributor
    • Joined on 04-14-2008, 4:47 PM
    • Posts 68

    Re: How can I use the IIS 7 Powershell snap-in with Windows 7?

    Well, it is quite confusing error. IIS PowerShell snapin (module, actually) is part of default setup of IIS. So, to enable it in PowerShell session you need to run command "import-module WebAdministration". That's it.

     

    --Sergei

  • 05-15-2009, 5:26 AM In reply to

    • BIH
    • Not Ranked
    • Joined on 04-17-2009, 10:39 AM
    • Posts 3

    Re: How can I use the IIS 7 Powershell snap-in with Windows 7?

    That's strange - I've tried that and it doesn't work. However, the machine that we've got Windows 7 on has had a number of hardware issues, so it's possible that one of the crashes has corrupted some bit of the software.

     We'll stick the RC on it soon, so I'll try again after we've done that.

  • 06-03-2009, 4:41 AM In reply to

    • BIH
    • Not Ranked
    • Joined on 04-17-2009, 10:39 AM
    • Posts 3

    Re: How can I use the IIS 7 Powershell snap-in with Windows 7?

    The problem has gone away now the machine is running the Windows 7 RC, so it looks as though it was just that something had got corrupted at some point.

  • 06-13-2009, 4:52 PM In reply to

    Re: How can I use the IIS 7 Powershell snap-in with Windows 7?

     I am not sure if this is a Bug or a problem or a restriction but it sure does take time to get it working. Workaround and a little bit of explaination can be found at:

    http://www.iisworkstation.com/2009/06/troubleshooting-iis-powershell-module.html

    Regards,
    MA Khan
    http://www.iisworkstation.com

    “Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread. ”
  • 06-16-2009, 2:21 PM In reply to

    • sergeia
    • Top 100 Contributor
    • Joined on 04-14-2008, 4:47 PM
    • Posts 68

    Re: How can I use the IIS 7 Powershell snap-in with Windows 7?

    See my blog for automation instructions: http://blogs.iis.net/sergeia/archive/2009/06/16/how-to-automate-windows-7-powershell-start-up-with-iis-module.aspx.

     What you observed is expected behavior.

     

    --Sergei

Page 1 of 1 (7 items)
Microsoft Communities