PowerShell: Create a temporary filename

Your ads will be inserted here by

Easy Plugin for AdSense.

Please go to the plugin admin page to
Paste your ad code OR
Suppress this ad slot.

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’

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.