I have the script adding printers, but it isn't using the PriMapState correctly. It adds three printers if they don't exist, but adds one all of the time, not trying to add the other two.

I would like to use @primarygroup to use to set default printer, but am not sure how to modify this.

I am at the point where I think an INI file may have been simpler. I already have capture INI files to a network drive so that I could determine which groups to put the computers into.

Any ideas on using @primarygroup with PriMapState.udf to set default printer?