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

View Complete Thread
  • Re: I want to delete specified WebDAV Authoring Rules

    Nov 02, 2020 01:01 AM|kawasa19|LINK

    Sorry.  I can't tell what I said to you.

    I am Japanese, sorry my poor English.

    I want to delete WebDAV Authoring Rules by using PowerShell.

    Do you know?

    I make Virtual directory, Home>Site>WebDAV>user01.

    Then, I add WebDAV Authoring Rules, users = 'user01'.

    I created PowerShell script below.

    Remove-WebConfigurationProperty -Filter "/system.webServer/webdav/authoringRules" -Location "webdav" -Name . -AtElement @{users='user01'}

    Result:

    user01 was delited from WebDAV Authoring Rules that Home>Site>WebDAV.

    Just I want user01 to be deleted from WebDAV Authoring Rules that Home>Site>WebDAV>user01.

    Plese tell me.