Gets HTTP URL security information.
Get-HttpUrlAcl [<CommonParameters>]
Get-HttpUrlAcl [-Url <String>] [<CommonParameters>]
Get-HttpUrlAcl [-LiteralUrl <String>] [<CommonParameters>]
The Get-HttpUrlAcl
functions uses the HTTP Server API to get HTTP URL ACL information. With no parameters, it returns Carbon.Security.HttpUrlSecurity
objects for all the HTTP URL ACLs. To get a specific HTTP URL ACL, use the Name
parameter (wildcards supported).
enables applications to communicate over HTTP without using Microsoft Internet Information Server (IIS). Applications can register to receive HTTP requests for particular URLs, receive HTTP requests, and send HTTP responses.
An application that uses the HTTP Server API must register all URLs it listens (i.e. binds, registers) to. When registering, the user who will listen to the URL must also be provided. Typically, this is done with the netsh http (show|add|remove) urlacl
command(s). This function replaces the netsh http show urlacl
command.
Get-HttpUrlAcl
was introduced in Carbon 2.1.0.
Name | Type | Description | Required? | Pipeline Input | Default Value |
---|---|---|---|---|---|
Url | String | The URL whose security information to get. Wildcards supported. Make sure your URL ends with a forward slash. |
false | false | |
LiteralUrl | String | The literal URL whose security information to get. Make sure your URL ends with a forward slash. |
false | false |
Carbon.Security.HttpUrlSecurity.
Get-HttpUrlAcl
Demonstrates how to get security information for all HTTP URLs configured on the current computer.
Get-HttpUrlAcl -Url 'http://+:8594/'
Demonstrates how to get security information for a specific HTTP URL.
Get-HttpUrlAcl -Url 'htt://*:8599/'
Demonstrates how to use wildcards to find security information. In this case, all URLs that use port 8599 will be returned.
When using wildcards, it is important that your URL end with a slash! The HTTP Server API adds a forward slash to the end of all its URLs.
Get-HttpUrlAcl -LiteralUrl 'http://*:8599/'
Demonstrates how to use a literal URL to find security information. Will only return the ACL for the URL http://*:8599/
.