PowerShell Logo Small

Rename-GPO



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

Assigns a new display name to a GPO.

SYNTAX


Rename-GPO [-Domain <String>] [-Server <String>] -Guid <Guid> -TargetName <String> [-Confirm] [-WhatIf] [<CommonParameters>]
Rename-GPO [-Name] <String> [-Domain <String>] [-Server <String>] -TargetName <String> [-Confirm] [-WhatIf] [<CommonParameters>]



Search powershellhelp.space

DESCRIPTION


The Rename-GPO cmdlet assigns a different, non-null display name to a GPO. This cmdlet has no effect on the GUID of the GPO.



<

RELATED LINKS

Online Version: http://go.microsoft.com/fwlink/?linkid=287731
Copy-GPO
Get-GPO
New-GPO

REMARKS

<

Examples


-------------------------- EXAMPLE 1 --------------------------

C:\PS>rename-gpo -name sampleGPO -targetname securityGPO

DisplayName : securityGPO
DomainName : contoso.com
Owner : CONTOSO\Domain Admins
Id : 2c08f9b5-32c3-43fa-af8f-f1939b1ac8a0
GpoStatus : AllSettingsEnabled
Description :
CreationTime : 3/6/2009 4:20:25 PM
ModificationTime : 3/6/2009 4:20:24 PM
UserVersion : AD Version: 0, SysVol Version: 0
ComputerVersion : AD Version: 0, SysVol Version: 0
WmiFilter :



Description

-----------

This command renames the GPO named sampleGPO to securityGPO.