Array and Hashtable

Job ID: 32884056

Budget: £18 – £36 GBP

I need Powershell script that will do the following

Extract list of IP addresses from a json file and convert the output to an array list or hashtable. (Call it arraylist1 for example)

Then convert another output file to array list or hashtable - (Call it arraylist 2).

Then loop through to compare arraylist1 and arraylist2. For any IP address in arraylist1 but not in in arraylist2 add it to arraynew
For any IPaddress in arraylist 2 but not in arraylist 1, add it to deletion new

Then delete any IP in arraylist 1 but not in arraylist 2
add any IP in arraylist 2 but not in arraylist
Related categories: Powershell