Skip to content

Instantly share code, notes, and snippets.

@ATLPhenx
Created April 29, 2016 18:23
Show Gist options
  • Save ATLPhenx/885d36234e0bf0c9c30e012405431ddb to your computer and use it in GitHub Desktop.
Save ATLPhenx/885d36234e0bf0c9c30e012405431ddb 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 + $FilePath) -ItemType file -value #value for including file data
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment