Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Find out WHO made the last change to files by Powershell?

I have a shared network location for all users saving files. All users have full access to this location.

Is that possible to find out WHO made the last change to a file or folder by Powershell or any other way?

There is no issue to get all those date and owner info from Powershell, but looks like there is no way to find out WHO made the last changes.

any idea please?

like image 441
Root Loop Avatar asked Apr 07 '15 13:04

Root Loop


People also ask

How do you see who last modified a file Windows 10 PowerShell?

To get the last modified file in the directory using PowerShell, use the Get-ChildItem cmdlet to get the items from the directory and use the LastWriteTime or CreationTime property.

How do I check Windows PowerShell update history?

Press the Windows Key + X and select Windows PowerShell (Admin). Type in wmic qfe list. You will see a list of updates including the HotFix (KB) number and link, description, comments, installed date, and more. Pretty neat.

Who created a file PowerShell?

To get the file owner using PowerShell, pass the file path to the Get-Acl cmdlet in PowerShell. Get-Acl cmdlet returns information about the file which can be used to determine the file owner.


1 Answers

The only user held against a file on NTFS is the owner. There is no record of who last modified the file.

However Windows can audit file system operations.

See http://support.microsoft.com/en-us/kb/310399 (says Windows XP in the title but applies to later versions). This needs to be applied to the system hosting the file system.

like image 174
Richard Avatar answered Nov 12 '22 04:11

Richard