11-10-2008
Downloads: 386
File size: 111 B
Views: 4,080
Embed
 |
Create temporary files |
- $filename = "$env:temp\TEMP-$(Get-Date -format 'yyyy-MM-dd hh-mm-ss').log"
- New-Item $filename -itemType File
demonstrates how to create a temporary file name based on date and time and create a file with that name in your temp folder.