This is the built-in help made by Microsoft for the command 'Get-WebConfigurationProperty', in PowerShell version 3 - as retrieved from
Windows version 'Microsoft Windows Server 2012 Standard' PowerShell help files on 2016-06-23.
For PowerShell version 3 and up, where you have Update-Help, this command was run just before creating the web pages from the help files.
Gets an IIS configuration property at the specified path.
Get-WebConfigurationProperty [-Filter] <String[]> [[-PSPath] <String[]>] [-Clr <String>] [-Location <String[]>] [-Recurse [<SwitchParameter>]]
-Name <String[]> [<CommonParameters>]
The Get-WebConfigurationProperty cmdlet is similar to the Get-WebConfiguration cmdlet, but Get-WebConfigurationProperty supports globbing
(wildcards).
<
Get-WebConfiguration
Set-WebConfigurationProperty
<
-------------- EXAMPLE 1: Return the Default Documents for the Default Web Site --------------
C:\PS>Get-WebConfigurationProperty -Filter //defaultDocument/files/add -PSPath 'IIS:\Sites\Default Web Site' -Name value | select value
Returns a list of the default documents associated with the Default Web Site.
Default.htm
Default.asp
Index.htm
Index.html
Iisstart.htm
Default.aspx
-------------- EXAMPLE 2: Show handlers mapped to ASPNET_ISAPI.DLL --------------
C:\PS>Get-WebConfigurationProperty //handlers 'IIS:\sites\Default Web Site' -Property Collection[scriptProcessor="*aspnet_isapi.dll"] | select
path,name
Demonstrates how to get the handlers mapped to aspnet_isapi.dll.
-------------- EXAMPLE 3: List default documents using globbing --------------
IIS:\>Get-WebConfigurationProperty -Filter //defaultDocument/files -PSPath 'IIS:\Sites\Default Web Site' -Property Collection[value="index*"]
This command returns all default documents that start with the string "index". The example uses globbing (wildcard expansion) to achieve this.