I am attempting to get the date in a mm.dd.yy format, then create a folder based off of that formatting. This is the syntax I am using, but no error is thrown and the directory is not created either?!
$FormattedDate = Get-Date -f 'MM.dd.yy' [System.IO.Directory]::CreateDirectory("C:\Daily\Ready" + $FormattedDate + "\James\")
- Edited by Baby_Christopher Wednesday, May 27, 2015 3:47 PM