Contact Info

Crumbtrail

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

Copy-Item - Powershell 4.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.

Syntax


Description
The Copy-Item cmdlet copies an item from one location to another location in the same namespace. For example, it can 
copy a file to a folder, but it cannot copy a file to a certificate drive.


Copy-Item does not cut or delete the items being copied. The particular items that the cmdlet can copy depend on the 
Windows PowerShell provider that exposes the item. For example, it can copy files and directories in a file system 
drive and registry keys and entries in the registry drive.


Copy-Item can copy and rename items in the same command. To rename an item, enter the new name in the value of the 
Destination parameter. To rename an item without copying it, use the Rename-Item cmdlet.