Forum Search Results for "" RSS 1—10 of 34

More Search Options

  • Re: Cannot manipulate get-childitem variable

    Posted to IIS 7.0 - PowerShell by JeongHwan on 09-25-2009, 1:58 PM

    You cannot use the object value as a site id value as you thought. :-) Here is one of the way to use the ID as a number value. $test = (Get-ChildItem IIS:\Sites|select-object -last 1).id    FYI, here is the way to check the data type. PS IIS:\sites> (Get-ChildItem IIS:\Sites|select-object -last 1|format-list id | select ...

    • http://forums.iis.net/p/1161204/1918342.aspx#1918342
  • Re: Can't use IIS snapin when using powershell from c#

    Posted to IIS 7.0 - PowerShell by JeongHwan on 09-25-2009, 1:48 PM

    FYI, I'd like to imform that Add-PSSnapin cmdlet should not be used if your machine is installed with Win7 OS. Only Import-module cmdlet should be used in that case. :-)

    • http://forums.iis.net/p/1161177/1918339.aspx#1918339
  • Re: PowerShell Provider for IIS7

    Posted to IIS 7.0 - PowerShell by JeongHwan on 09-24-2009, 7:58 PM

    Snapin name is changed to Webadministration on IIS Powershell RTW build.   So, "Add-PsSnapin WebAdministration" is the right way instead of "Add-PsSnapin IISProviderSnapin".  

    • http://forums.iis.net/p/1148865/1918223.aspx#1918223
  • Re: Can't use IIS snapin when using powershell from c#

    Posted to IIS 7.0 - PowerShell by JeongHwan on 09-24-2009, 7:46 PM

    BTW, I was wrong Microsoft.AppHostQueryProcessor is not related to IIS Powershell. Actually it is one of IIS component files in Win7. Please check the COM file is registered in your Win7 machine by searching the string "Microsoft.AppHostQueryProcessor" or class id "688eeee5-6a7e-422f-b2e1-6af00dc944a6" ...

    • http://forums.iis.net/p/1161177/1918218.aspx#1918218
  • Re: Can't use IIS snapin when using powershell from c#

    Posted to IIS 7.0 - PowerShell by JeongHwan on 09-24-2009, 7:30 PM

    I tried my program on Win7 and it worked well. BTW, I think you should check why the get-website is not recognized as the name of a cmdlet because the Get-WebSite is a valid cmdlet name on Win7 build. Maybe you can follow this on DOS prompt if you are not familiar about how to start IIS Powershell ...

    • http://forums.iis.net/p/1161177/1918214.aspx#1918214
  • Re: Can't use IIS snapin when using powershell from c#

    Posted to IIS 7.0 - PowerShell by JeongHwan on 09-24-2009, 6:04 PM

    Hi, I can't reproduce the problem. And I don't see the product id of "Microsoft.AppHostQueryProcessor" is used by IIS Powershell on RTW (Go Live) build. Are you using old version? Or, please try your program in a clean machine with the IIS Powershell RTW (Go Live) build. I executed the below program and I did not see ...

    • http://forums.iis.net/p/1161177/1918196.aspx#1918196
  • Re: Remove Host Header - unless it is the last one

    Posted to IIS 7.0 - PowerShell by JeongHwan on 09-17-2009, 5:39 PM

    I am not clear about your scenario but I guess, you are trying to remove a certain binding but if the target site has only that binding you want to get exception instead of removing the binding. Am I right? If so, I think you can use this script code for that purpose.     if ($null -ne (Get-WebBinding -name "Default Web ...

    • http://forums.iis.net/p/1160949/1917411.aspx#1917411
  • Re: Powershell samples using Admin Configuration Editor

    Posted to IIS 7.0 - PowerShell by JeongHwan on 09-02-2009, 5:03 PM

    Hi, Thanks a lot  for your feedbacks. I am going to report the design change request to support powershell script from config editor. Jeong Hwan Kim     

    • http://forums.iis.net/p/1160077/1915646.aspx#1915646
  • Re: RFC 3986 vs RFC 2396: relative URL resolution with only query component

    Posted to IIS Search Engine Optimization Toolkit by JeongHwan on 08-11-2009, 4:50 PM

    Thanks for the error report. I am going to investigate this issue and log a new bug if we don't have any bug on this issue yet.    

    • http://forums.iis.net/p/1159852/1913229.aspx#1913229
  • Re: Problem with New-Website

    Posted to IIS 7.0 - PowerShell by JeongHwan on 08-05-2009, 7:11 PM

    We were able to reproduce your issue. It is a product issue and we will fix it some day in future. The issue we found is that if there is no web sites, the new-website cmdlet does not work with showing the error message. Please let me know if this is not your case and we will investigate more. FYI, another work-around regarding the ...

    • http://forums.iis.net/p/1159761/1912661.aspx#1912661

1 2 3 4 Next >

Microsoft Communities