locked
Get-Website -Name parameter ignored RRS feed

  • Question

  • User1856340056 posted
    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.
    Wednesday, April 28, 2010 2:43 AM

Answers

  • User669824928 posted

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

    • Marked as answer by Anonymous Tuesday, September 28, 2021 12:00 AM
    Tuesday, May 4, 2010 6:36 AM

All replies

  • User669824928 posted

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

    • Marked as answer by Anonymous Tuesday, September 28, 2021 12:00 AM
    Tuesday, May 4, 2010 6:36 AM
  • User2065605267 posted
    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.
    Friday, May 7, 2010 8:24 PM