View Complete Thread
  • Re: How to create new file config using cmd

    Jan 17, 2019 06:51 AM|Jalpa Panchal|LINK

    Click on search and type powershell and right click on it and select run as administator and open it.

    Run this command:

     Add-WebConfigurationProperty -pspath 'iis:\sites\php2' -filter "system.webServer/rewrite/rules" -name "." -value @{name='Redirect' ;patternSyntax='Wildcard';stopPrcessing='True'}

    MSDN Community Support
    Please remember to click "Mark as Answer" the responses that resolved your issue.
    If you have any compliments or complaints to MSDN Support, feel free to contact