Freigeben über


Back to Basics: Generate Monthly Report Folders

I'm always using PowerShell to just, well, help out with day to day stuff I have to do. The other week I used PowerShell to generate a bunch of folders for 2017 that I'll use to store my expense receipts in. All very mundane; all completed in milliseconds.

 
$a = 1..12 | % {(Get-Date -Month $_ -f MMM)}
$a | % {New-Item -Name $_ -Type Directory}

 
capture201