# Viewing IIS Web Configuration: HTTP Verbs

**URL:** <https://forums.powershell.org/t/viewing-iis-web-configuration-http-verbs/15274>\
**Category:** PowerShell Help\
**Created:** [November 23, 2020, 6:47am UTC](https://forums.powershell.org/t/viewing-iis-web-configuration-http-verbs/15274 "2020-11-23T06:47:42Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![jshizzle](https://avatars.discourse-cdn.com/v4/letter/j/a4c791/32.png) [@jshizzle](https://forums.powershell.org/u/jshizzle)\
**Post date:** [November 23, 2020, 6:47am UTC](https://forums.powershell.org/t/viewing-iis-web-configuration-http-verbs/15274/1 "2020-11-23T06:47:42Z")

</div>

Hi,

I’m configuring IIS on some servers to add deny HTTP Verbs to the Request Filtering section. This was done using the following:

```
Add-WebConfigurationProperty -PSPath 'MACHINE/WEBROOT/APPHOST' -Filter 'system.webServer/security/requestFiltering' -Value @{VERB="OPTIONS";allowed="False"} -Name Verbs -AtIndex 0
```

…however, I want to be able to confirm the presence of this after it’s been configured. The following shows some properties but not the actual HTTP Verbs list:

```
Get-WebConfigurationProperty -pspath 'MACHINE/WEBROOT/APPHOST' -filter 'system.webServer/security/requestFiltering' -Name Verbs
```

What do I need to add to list the verbs added?

---

<div class="post-metadata">

**Author:** ![jshizzle](https://avatars.discourse-cdn.com/v4/letter/j/a4c791/32.png) [@jshizzle](https://forums.powershell.org/u/jshizzle)\
**Post date:** [November 26, 2020, 5:52am UTC](https://forums.powershell.org/t/viewing-iis-web-configuration-http-verbs/15274/2 "2020-11-26T05:52:26Z")

</div>

Sorted this out by following the advice here: [Viewing IIS Web Configuration via PowerShell: HTTP Verbs - Server Fault](https://serverfault.com/questions/1043773/viewing-iis-web-configuration-via-powershell-http-verbs/1043778#1043778)

---

<div class="post-metadata">

**Author:** ![dotnVo](https://avatars.discourse-cdn.com/v4/letter/d/4af34b/32.png) [@dotnVo](https://forums.powershell.org/u/dotnVo)\
**Post date:** [May 16, 2024, 8:28pm UTC](https://forums.powershell.org/t/viewing-iis-web-configuration-http-verbs/15274/3 "2024-05-16T20:28:17Z")

</div>

Closed on May 16, 2024, 8:28pm UTC


