I changed the line "$GroupObj.Name" to just "$GroupObj" and the in error wenat away. I'll test some more and let you know if it works.