Powershell: Create a tempfile with Powershell
Sometimes you need to save some data in to a tempfile. And instead of creating a ownen file for this you could use the .NET function to create a really tempfile in the tempfile directory.
This is the how you can create a new tempfile:[powershell]$tempFile = [System.IO.Path]::GetTempFileName()[/powershell]
And now you can parse data into this file.