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
Parameters
-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.