CmdID / PowerShell / Cmdlets / Add
Add-WebConfiguration
Adds a collection element to an IIS configuration collection. Windows Server PowerShell reference
From the Windows Server PowerShell reference 11 parameters Its page in the reference
Parameters
-AtElementSpecifies the element in the collection location at which this cmdlet inserts the value.-AtIndexSpecifies the index at which this cmdlet inserts the value.-AtNameSpecifies the name at which this cmdlet inserts the value.-ClrSpecifies the version of the .NET Framework in the form vn.n, such as v4.0 or v2.0.-Confirm, -cfPrompts you for confirmation before running the cmdlet.-FilterSpecifies the IIS configuration section or an XPath query that returns either a configuration section or a configuration element that contains a collection.-ForceForces the creation of a configuration, and overrides existing element settings.-LocationSpecifies the location to which this cmdlet writes the configuration.-PSPathSpecifies the configuration path.-ValueSpecifies the value to add to the configuration collection.-WhatIf, -wiShows what would happen if the cmdlet runs.