I think one of the suggestions that they had peter maybe transform and report back to them or maybe cast spells to reveal the magical ward outline could work. And as for the students, they probably snuck into Dumbledore's office and copied the registry to show any person ever that attended hog warts to show up. But it sounds like it was really complex spell work .