I am having an issue importing a 7MB CSV. I am importing 2 CSV files to use for comparison purposes via Compare-Object. The 2 CSV files are almost identical (same 3 headers, just different settings below them). The one CSV imports fine, but the other returns the error:
import-csv : The member "6ALAN.Admins to Local Admins Group" is already present.
Here are the top 9 lines in EACH CSV file.
GPO Name,Setting Path,Setting Value
Any ideas why I'm getting this error?
Once again, was able to figure it out so disregard my original post. It looks like one of the CSV files was formatted in a strange way. I fixed the formatting and was able to run the script successfully.
You must be logged in to reply to this topic.