troubleshooting Question

Powershell script to compare two directory content difference only ?

Avatar of Senior IT System Engineer
Senior IT System EngineerFlag for Australia asked on
Powershell* RobocopyVB ScriptScripting Languages
5 Comments3 Solutions648 ViewsLast Modified:
Hi people,

Can anyone here please help me with the Powershell script which can compare the shared directory content (subfolders and files )between \\Source\SharedDir1 and \\Destination\SharedDir2 ?

I need to know what's missing in the destination file server so I can manually copied it.

The background on this problem is that, I've done Robocopy from one file server to another file server, but somehow there are some things that still missing or moved by user.

There are about 2.78 million files in total of 198 GB in the source file server, hence if I run the Robocopy script again, it may take long to copy or list which file was not copied properly ? Because Robocopy also does not produce it that shows only file that is error.

Thanks in advance.
ASKER CERTIFIED SOLUTION
Join our community to see this answer!
Unlock 3 Answers and 5 Comments.
Start Free Trial
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 3 Answers and 5 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros