Previous Next

Thread: PowerShell Provider for IIS7

Last post 04-16-2008 1:15 PM by JeongHwan. 18 replies.

Average Rating Rate It (5)

RSS

Page 2 of 2 (19 items) < Previous 1 2

Sort Posts:

  • 04-15-2008, 6:31 PM In reply to

    • JeongHwan
    • Top 150 Contributor
    • Joined on 12-14-2004, 11:43 AM
    • Redmond, WA
    • Posts 18
    • JeongHwan

    Re: PowerShell Provider for IIS7

    I have Vista 64bit SP1 machine. But I did not run into what you reported here.

    BTW, I'd like to clarify that iisprovider.dll file, which is the IIS Powershell provider dll, is not copied to the PowershellProvider directory. It should be copied to GAC like this.

    C:\>dir C:\windows\iisprovider*.dll /s
     Volume in drive D is New Volume
     Volume Serial Number is 40B7-51EA

     Directory of C:\windows\assembly\GAC_MSIL\IIsProvider\7.1.0.0__1a5b963c6f0fbeab


    04/14/2008  10:50 AM           136,216 iisprovider.dll
                   1 File(s)        136,216 bytes

    BTW, as you might know, in 64bit OS, there are two version of Powershell. Did you use %windir%\SysWoW64\WindowsPowerShell\v1.0\powershell.exe?

    If so, you should use %windir%\System32\WindowsPowerShell\v1.0\powershell.exe. This is a known product issue in this Tech Preview 1 build.

    Please let me know if this is your case.

    Jeong Hwan Kim
  • 04-16-2008, 4:08 AM In reply to

    Re: PowerShell Provider for IIS7

    That would explain it... I am using the WoW64 version, yes.  I hadn't realised this was the 32-bit version; indeed, I thought it was the 64-bit version!  Is this issue scheduled to be fixed in later releases?

    Thanks for your time, and the successful resolution; now, to get my other snap-ins working on 64-bit PS :-) 

    Alastair

  • 04-16-2008, 10:25 AM In reply to

    • marcoshaw
    • Not Ranked
    • Joined on 04-16-2008, 12:47 PM
    • Posts 8
    • marcoshaw

    Re: PowerShell Provider for IIS7

    What does "get-pssnapin -registered" give you?

    I don't have access to a x64 system.  It is my understanding that the PSH install might provide a x86 and x64 install of PowerShell on the same machine?

    (How about moving this into a new thread?)

  • 04-16-2008, 1:15 PM In reply to

    • JeongHwan
    • Top 150 Contributor
    • Joined on 12-14-2004, 11:43 AM
    • Redmond, WA
    • Posts 18
    • JeongHwan

    Re: PowerShell Provider for IIS7

    Alastair's problem seems to be resolved by using 64bit powershell.exe instead of using 32 bit powershell.exe on 64bit OS.

    Alastair, 
    Thanks for your reply. Developer will look into the problem in using 32 bit powershell.exe and I hope it would be fixed in the next release such as Tech Preview 2.

    Jeong Hwan Kim
Page 2 of 2 (19 items) < Previous 1 2
Page view counter