Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

copy all files in folder with powershell

[string]$sourceDirectory  = "C:Source*"
[string]$destinationDirectory = "C:Destination"
Copy-item -Force -Recurse -Verbose $sourceDirectory -Destination $destinationDirectory
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #copy #files #folder #powershell
ADD COMMENT
Topic
Name
9+7 =