Powershell script for Auditing


I suspect someone have transfer the file from his local machine.

We don’t have Audit trail turn on.

Question what is the powershell script to trace this?

Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

David Johnson, CD, MVPOwnerCommented:
You can't audit events in the past before auditing was enabled. If you close the barn door after the horse has gone, the horse is still gone.
And therefore, turn on auditing now.

At least you will be able to check if it happens again.

alanlam123Author Commented:
What is the step to turn on the audit policy in AD
Turn on auditing for a file or folder using the security settings.

See this MS article for the full steps:


Or by Group Policy:



Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
alanlam123Author Commented:
Tks for the help
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today

From novice to tech pro — start learning today.