Chinh Do

Create a Temporary File in PowerShell

10th December 2009

Create a Temporary File in PowerShell

posted in PowerShell, Programming |

$tempFile = [IO.Path]::GetTempFileName()

An empty file created immediately when you call this method. Remember to clean it up when are you done!

image

This entry was posted on Thursday, December 10th, 2009 at 8:52 pm and is filed under PowerShell, Programming. You can follow any responses to this entry through the RSS 2.0 feed. You can leave a response, or trackback from your own site.

Leave a Comment