2

I'm reading up on a particular command (SET-WEBCONFIGURATIONPROPERTY) and I'm getting the "is not recognized as a cmdlet" error. Suggests to me that I'm missing a snap-in of some sort, even though I'm using the SharePoint PowerShell, which I was under the impression came with most.

On reading up a bit, a lot of the examples seem to display "IIS:> SET-WEB.....".

  1. How have they managed to work within IIS in the PowerShell console?
  2. Is there a special PowerShell console or am I missing a snap-in?
2
  • 1
    Check out my answer to this question: stackoverflow.com/questions/16260338/… Commented Apr 30, 2013 at 8:59
  • Thanks a lot Andy, you've answered my question. I'm not sure whether this question should be deleted (given the fact it already exists) or whether you should post it as an answer so I can mark it accordingly. Commented Apr 30, 2013 at 9:10

1 Answer 1

4
Import-Module WebAdministration
cd IIS:
Sign up to request clarification or add additional context in comments.

Comments