PowerShell Logo Small

Rename-WebConfigurationLocation



This is the built-in help made by Microsoft for the command 'Rename-WebConfigurationLocation', in PowerShell version 5 - as retrieved from Windows version 'Microsoft Windows Server 2012 R2 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.

SYNOPSIS

Renames a configuration location.

SYNTAX


Rename-WebConfigurationLocation [[-PSPath] <String[]>] [-Recurse] -Name <String> -NewName <String> [-Confirm] [-WhatIf] [<CommonParameters>]



Search powershellhelp.space

DESCRIPTION


Renames the specified configuration location with the new name provided.



<

RELATED LINKS


Online Version: http://go.microsoft.com/fwlink/p/?linkid=287893

REMARKS

<

Examples


-------------- EXAMPLE 1: Rename a configuration location --------------

IIS:\>Rename-WebConfigurationLocation -Name 'Default Web Site/oldApp' -NewName 'Default Web Site/newApp' -PSPath IIS:\



Renames a configuration location on the Default Web Site from "oldApp" to "newApp."