PowerShell Logo Small

Rename-WebConfigurationLocation



This is the built-in help made by Microsoft for the command 'Rename-WebConfigurationLocation', 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.

SYNOPSIS

Renames a configuration location.

SYNTAX


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



Search powershellhelp.space

DESCRIPTION


Renames the specified configuration location with the new name provided.



<

RELATED LINKS


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