How to use powershell to compare two string array

Hi Guys

We have two server list txt file like

a.txt contains some servers ,like server 11,server 12,server13

b.txt contains other servres, like server 11,server 13,server14

i need a script to find out that if all server in b.txt included in a.txt, if not , dump the server name to a new txt.

Can any idea ?

Thanks

August 24th, 2015 2:50am

Can you post your script?

Free Windows Admin Tool Kit Click here and download it now
August 24th, 2015 3:02am

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics