Tag Archives: file

List All Files Regardless of 260 Character Path Restriction Using PowerShell and Robocopy

A common pain had by many System Administrators is when you are trying to recursively list all files and folders in a given path or even retrieve the total size of a folder. After waiting for a while in hopes … Continue reading

Posted in powershell, scripts | Tagged , , , | 48 Comments

Finding a File’s MFT Timestamp using PowerShell

During my last couple of articles dealing with writing and reading files without updating their LastAccess and LastWrite timestamps which has seen a bit of popularity from folks.  While these methods work great for the casual onlooker, digging down deeper … Continue reading

Posted in powershell | Tagged , , , , , | 2 Comments

Write to an Existing File Without Updating LastWriteTime or LastAccessTimestamps Using PowerShell

This little trick was something I stumbled upon while attempting to help solve an issue with a file scan that was about to take place. We wanted to know the last time a file was accessed and build out a … Continue reading

Posted in powershell, scripts | Tagged , , , , | 2 Comments