Dear Masters!!
Hoping this would be the great place of masters who can really help me with script or solution.
I had a requirement to write computer Hostnames to JSS Static Computer Group.
I would receive consolidated .xml or .csv file for admin rights from support groups.
Now, I need a script to read computer objects from that .XML or .CSV file lookup for JSS inventory if computer hostname is available then that computer Hostname needs to be added to Static computer Group. Before adding new computer hostnames script should fist remove all existing computers from that group and then add new entries to it.
Looking forward for responses on this post! Thank you!