Get-Date not only will retrieve the current date, but you can also construct a custom date format to create time-stamped temporary file names:
(Get-Date -format 'yyyy-MM-dd hh-mm-ss') + '.tmp'
Explore all the products and find the right solution for your business
Explore all the products and find the right solution for your business
Explore all the products and find the right solution for your business
by ps1Jan 4, 2010
Get-Date not only will retrieve the current date, but you can also construct a custom date format to create time-stamped temporary file names: