Temporary File Name

Share |

Join PowerShell.com!
Subscribe to Feed

PowerShell eBook
Sign up for
Your PowerTip of the Day:

Award-winning PowerShellPlus


Admin Guide to PowerShell Remoting


Mastering PowerShell eBook

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'

Posted Mar 18 2010, 08:00 AM by ps1

Comments

Unlimited Space Unlimited Bandwidth – Email Hosting | Host Rage wrote Unlimited Space Unlimited Bandwidth – Email Hosting | Host Rage
on 04-04-2010 10:39 AM

Pingback from  Unlimited Space Unlimited Bandwidth – Email Hosting | Host Rage

Copyright 2012 PowerShell.com. All rights reserved.