question

SajnaMohammed-7831 avatar image
0 Votes"
SajnaMohammed-7831 asked RichMatheisen-8856 edited

Is it possible to read the modified by info of folders using powershell?

I'm trying to read the folder info of shared location. I was unable to get the last modified by info.

Please help me, Is it possible to get the modified by/editor info of folders? if yes, please let me know how to write the powershell script?

below is the current script for folder and owner info and few other attributes:

Get-ChildItem $dir -Directory |
Select-Object Name ,CreationTime, LastAccessTime,IsReadOnly,@{Name="Owner";Expression={(Get-ACL $.Fullname).Owner}},@{Name="Size IN MB";Expression={$.Length / 1MB}}

windows-server-powershell
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

1 Answer

RichMatheisen-8856 avatar image
0 Votes"
RichMatheisen-8856 answered RichMatheisen-8856 edited

The short answer is "No". The account isn't recorded -- unless you've enabled auditing. If you're auditing that activity then the activity will be written into the Event Log.

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.