Tag Archives: temp

Clean-RemoteTemp

This is a function that will help cleaning up users computers ifthey have problem with little space left on their hard drives orsome strange problems related to temp files. It will delete all users temp files on the remote computer. … Continue reading

Posted in PowerShell | Tagged , , , | 3 Comments

Clean-Temp function

I’m working on some functions that can help when working with installation and MSI files. This one is the first one. function Clean-Temp { $myTemp = "$Env:temp" get-Childitem $myTemp | remove-Item -recurse -force } This function deletes everything in the … Continue reading

Posted in PowerShell Blogs | Tagged , , , , | Leave a comment