Skip to content

Instantly share code, notes, and snippets.

@ATLPhenx
Created April 29, 2016 18:33
Show Gist options
  • Save ATLPhenx/24c662940a1f48c193dc9ef4237adf4a to your computer and use it in GitHub Desktop.
Save ATLPhenx/24c662940a1f48c193dc9ef4237adf4a to your computer and use it in GitHub Desktop.
foreach ($dir in $directories)
{
New-Item $dirPath -type directory -value #value for including directory data or metadata
}
foreach ($file in $Files)
{
New-Item ($dirPath + $FileName) -ItemType file -value #value for including file data
Join-Path -Parent $dirPath -ChildPath $FileName
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment