# encoding: ascii
# api: powershell
# title: 
# description: Copy files to dated directory.
# version: 0.1
# license: CC0
# x-poshcode-id: 5159
# x-archived: 2014-07-01T14:32:26
#
#
$date = Get-Date -Format "yyyyMMdd"
$source = 'C:\dir'
$destination = "C:\someotherdir\$date\"

New-Item -ItemType directory -Path $destination
Copy-Item $source "$destination" -Recurse -Force
