Should you find yourself wanting to store a file quickly for processing later and you’re not sure on the users permissions or the environments storage status and options, why not whack the file in the user’s temporary folder ?
Instead of needing to build a path to use ($env:TEMP+"\blah.tmp"
), we might as well use a built in method that just does it for us.
[System.IO.Path]::GetTempFileName()
Continue reading “Placeholder – Temporary file”