Contact Info

Crumbtrail

ActiveXperts.com » Administration » Powershell » Powershell 2.0 » Copy-Item

Copy-Item - Powershell 2.0 CmdLet

ActiveXperts Network Monitor ships with integrated Powershell scripts to monitor complex network. The scripts run out of the box
Download the ActiveXperts Network Monitor FREE version now »

Copy-Item

Short description
Copies an item from one location to another within a namespace.

Syntax
Copy-Item [-LiteralPath] <string[]> [[-Destination] <string>] [-Container] [-Credential <PSCredential>] [-Exclude <
    string[]>] [-Filter <string>] [-Force] [-Include <string[]>] [-PassThru] [-Recurse] [-Confirm] [-WhatIf] [-UseTrans
    action] [<CommonParameters>]
    
    Copy-Item [-Path] <string[]> [[-Destination] <string>] [-Container] [-Credential <PSCredential>] [-Exclude <string[
    ]>] [-Filter <string>] [-Force] [-Include <string[]>] [-PassThru] [-Recurse] [-Confirm] [-WhatIf] [-UseTransaction]
     [<CommonParameters>]

Description
The Copy-Item cmdlet copies an item from one location to another in a namespace. Copy-Item does not delete the item
    s being copied. The particular items that the cmdlet can copy depend on the Windows PowerShell providers available.
     For example, when used with the FileSystem provider, it can copy files and directories and when used with the Regi
    stry provider, it can copy registry keys and entries.