PowerShell: Create a temporary filename
Posted in No Category
Thanks to Get-Date, you can easily create unique temporary file names with a timestamp:
(Get-Date -format ‘yyyy-MM-dd hh-mm-ss’) + ‘.tmp’
Thanks to Get-Date, you can easily create unique temporary file names with a timestamp:
(Get-Date -format ‘yyyy-MM-dd hh-mm-ss’) + ‘.tmp’