Deny by Request Rate

Welcome Forums DSC (Desired State Configuration) Deny by Request Rate

This topic contains 2 replies, has 2 voices, and was last updated by

3 months, 2 weeks ago.

  • Author
  • #138558

    Topics: 29
    Replies: 13
    Points: 45
    Rank: Member


    I need to configure denyByRequestRate to an existing DSC push environment, but not sure how.

    I was able to install the windows feature via the my psd1 script:

     WindowsFeatures = ("Web-Server", "Web-Basic-Auth", "Web-Windows-Auth", 'Web-Url-Auth', 'Web-IP-Security',"Web-Mgmt-Tools", "Web-Mgmt-Service", 'Web-Includes', 'Web-CGI') 

    and then config it manually to see the output to the applicationhost.config file.

    then manually configured the setting to get the output:


  • #138623

    Topics: 8
    Replies: 815
    Points: 2,415
    Helping Hand
    Rank: Community Hero

    Something from xWebAdministration module should help you. Below are the DSCResources available. check xWebConfigProperty and xWebConfigPropertyCollection.

    ImplementedAs   Name                          ModuleName                     Version    Properties
    -------------   ----                          ----------                     -------    ----------
    PowerShell      WebApplicationHandler         xWebAdministration       {Name, Path, AllowPathInfo, DependsOn...}
    PowerShell      xIisFeatureDelegation         xWebAdministration       {Filter, OverrideMode, Path, DependsOn...}
    PowerShell      xIisHandler                   xWebAdministration       {Ensure, Name, DependsOn, PsDscRunAsCredential}
    PowerShell      xIisLogging                   xWebAdministration       {LogPath, DependsOn, LogCustomFields, LogFlags...}
    PowerShell      xIisMimeTypeMapping           xWebAdministration       {ConfigurationPath, Ensure, Extension, MimeType...
    PowerShell      xIisModule                    xWebAdministration       {Name, Path, RequestPath, Verb...}
    PowerShell      xSSLSettings                  xWebAdministration       {Bindings, Name, DependsOn, Ensure...}
    PowerShell      xWebApplication               xWebAdministration       {Name, PhysicalPath, WebAppPool, Website...}
    PowerShell      xWebAppPool                   xWebAdministration       {Name, autoShutdownExe, autoShutdownParams, aut...
    PowerShell      xWebAppPoolDefaults           xWebAdministration       {ApplyTo, DependsOn, IdentityType, ManagedRunti...
    PowerShell      xWebConfigKeyValue            xWebAdministration       {ConfigSection, Key, WebsitePath, DependsOn...}
    PowerShell      xWebConfigProperty            xWebAdministration       {Filter, PropertyName, WebsitePath, DependsOn...}
    PowerShell      xWebConfigPropertyCollection  xWebAdministration       {CollectionName, Filter, ItemKeyName, ItemKeyVa...
    PowerShell      xWebsite                      xWebAdministration       {Name, ApplicationPool, ApplicationType, Authen...
    PowerShell      xWebSiteDefaults              xWebAdministration       {ApplyTo, AllowSubDirConfig, DefaultApplication...
    PowerShell      xWebVirtualDirectory          xWebAdministration       {Name, PhysicalPath, WebApplication, Website...}
  • #138656

    Topics: 29
    Replies: 13
    Points: 45
    Rank: Member

    i will look

The topic ‘Deny by Request Rate’ is closed to new replies.

denizli escort samsun escort muğla escort ataşehir escort kuşadası escort