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

    Jan 16, 2019 09:20 AM|Jalpa Panchal|LINK

    Hi,

    Try to access this command:

     

    Add-WebConfigurationProperty -pspath 'iis:\sites\php2' -filter "system.webServer/rewrite/rules" -name "." -value @{name='Redirect www.website.com' ;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 MSDNFSF@microsoft.com.