PowerShell: Copy Directory

By Xah Lee. Date: .

Copy Directory

cp c:/Users/john/abc/ f:/backup/ -Recurse
# copy dir's content
cp c:/Users/john/abc/* f:/backup/ -Recurse

PowerShell, Working with Directory

PowerShell

Practical How-To

list files

list dirs

on dir

on file

Windows config

zip tar

misc


PowerShell in Depth

Programing PowerShell

Value Types

String

Variable

Boolean

Conditional

Data Structure

Loop and Iteration

Input/Output

Function

Profile and Script

Script Examples