Some of the computer names in the 'host name' column of the csv likely have not been logged into in a while so I want to remove all rows that contain an out of date computer record.
I want however to take that list of computers retrieved from below and run them against list.csv, where where one of the computer names matches I want to delete the entire row(s) from list.csv.
Ive tried now for a while with other articles and import-csv etc. but cant crack it.
Export results of Search-ADAccount to a csv file then compare the two files.
The topic 'Powershell remove inactive computers from csv list' is closed to new replies.