CmdID

CmdID / PowerShell / Cmdlets / Rename

Rename-WebConfigurationLocation

Renames a configuration location. Windows Server PowerShell reference

From the Windows Server PowerShell reference 6 parameters Its page in the reference

Opens CmdID with your command, read as PowerShell. It is read in your browser and sent nowhere.

Parameters

6 in the Windows Server PowerShell reference
-Confirm, -cfPrompts you for confirmation before running the cmdlet.
-NameSpecifies the current name of the configuration location.
-NewNameSpecifies the new name of the configuration location.
-PSPathSpecifies an IIS configuration path to the location.
-RecurseIndicates that the cmdlet renames location tags defined lower in the location hierarchy.
-WhatIf, -wiShows what would happen if the cmdlet runs.