PowerShell Logo Small

Copy-ItemProperty



This is the built-in help made by Microsoft for the command 'Copy-ItemProperty', in PowerShell version 2 - as retrieved from Windows version 'Microsoft® Windows Vista™ Ultimate ' 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

Copies a property and value from a specified location to another location.

SYNTAX


Copy-ItemProperty [-LiteralPath] <string[]> [-Destination] <string> [-Name] <string> [-Credential <PSCredential>] [-Exclude <string[]>] [-Filter
<string>] [-Force] [-Include <string[]>] [-PassThru] [-Confirm] [-WhatIf] [-UseTransaction] [<CommonParameters>]
Copy-ItemProperty [-Path] <string[]> [-Destination] <string> [-Name] <string> [-Credential <PSCredential>] [-Exclude <string[]>] [-Filter <string
>] [-Force] [-Include <string[]>] [-PassThru] [-Confirm] [-WhatIf] [-UseTransaction] [<CommonParameters>]



Search powershellhelp.space

DESCRIPTION


The Copy-ItemProperty cmdlet copies a property and value from a specified location to another location. For example, you can use Copy-ItemPropert
y to copy one or more registry entries from one registry key to another registry key.



<

RELATED LINKS

Online version: http://go.microsoft.com/fwlink/?LinkID=113293
about_Providers
Clear-ItemProperty
New-ItemProperty
Move-ItemProperty
Rename-ItemProperty
Get-ItemProperty
Set-ItemProperty

REMARKS

<

Examples


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

C:\PS>copy-itemproperty -path MyApplication -destination HKLM:\Software\MyApplicationRev2 -name MyProperty



Description
-----------
This command copies the property named MyProperty from the MyApplication registry key to the MyApplicationRev2 registry key.