Copy-Item - Powershell 1.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
Description Copy an item from a namespace location Usage Options Example(s) Copy a file into the C:\SS64\ directory: PS C:\>Copy-Item C:\temp\demo.txt -destination C:\SS64 Copy the entire contents of the work folder into the backup\June folder: C:\PS>Copy-Item C:\work -destination C:\backup\June -recurse The -recurse option ensures any subdirectories will be copied intact. The -container parameter is set to true by default, this preserves the directory structure. The June folder will be created if it does not already exist.