Need to add machines into a collection using powershell
Could someone please provide a script to add machines into a collection using powershell script.
We have an excel file that contains hostnames in column A and collection names in column B.
I want to read that excel file accordingly and add it into a respective collections.
Thanks in advance