Get-WebConfiguration: Commit Path contains one or more invalid characters

This topic contains 2 replies, has 2 voices, and was last updated by Profile photo of Ed Redmond Ed Redmond 4 days, 14 hours ago.

  • Author
    Posts
  • #69004
    Profile photo of Ed Redmond
    Ed Redmond
    Participant

    I am trying to enumerate through a number of web sites defined on an IIS server and get some configuration information on that site. However whenever it encounters a website with a parenthesis it gives the following error.

    Get-WebConfiguration : Commit path contains one or more invalid characters.

    My Google-fu is failing me.

    Any thoughts as to why this might be. I have tried encoding the parenthesis but to no avail.

  • #69385
    Profile photo of Don Jones
    Don Jones
    Keymaster

    Yeah, that's kind of a thing with IIS and is basically a bug in the module. The answer is, "don't use parentheses in site names."

  • #69451
    Profile photo of Ed Redmond
    Ed Redmond
    Participant

    I was afraid that would be the response. 🙁

    Thanks, Don.

You must be logged in to reply to this topic.