Quantcast
Channel: PowerShell.com – PowerShell Scripts, Tips, Forums, and Resources
Viewing all articles
Browse latest Browse all 6937

Compare two folders on remote machines

$
0
0

Hello Experts,

I am new to powershell . I am looking to compare folders based on 2 servers.

 

Say for example , I have an AB folder on 1 server and XY folder on the other.

How do I compare the two?

 

The expected output is :

///I need to find out how many folders and files are missing inside XY on server 2 when compared to AB on server 1///

 

Also, is it possible to compare the entire C drive of 2 servers?

 

Thanks in Advance.


Viewing all articles
Browse latest Browse all 6937

Trending Articles