We are excited to announce that the IIS.NET Forums are moving to the new Microsoft Q&A experience. Learn more >

Get-Website -Name parameter ignored [Answered]RSS

2 replies

Last post May 07, 2010 08:24 PM by marcoshaw

  • Get-Website -Name parameter ignored

    Apr 28, 2010 02:43 AM|jstangroome|LINK

    If I enter: Get-Website Then all websites are returned. If I then enter: Get-Website -Name Foo Then all websites are still returned. Seems like a bug.


  • Re: Get-Website -Name parameter ignored

    May 04, 2010 06:36 AM|WenJun Zhang - MSFT|LINK

    Please use something like: get-item 'default web site' .

  • Re: Get-Website -Name parameter ignored

    May 07, 2010 08:24 PM|marcoshaw|LINK

    Yes, the IIS team is aware of this.  Plans are for this to be addressed later, but unfortunately, that will likely be the next version of Windows Server now that PowerShell is a core part of the OS.