Allow InputObject with Multiple Users
Allow InputObject with Multiple Users

Rewrote the loop logic for the sub function to be a FOR loop versus a foreach loop to prevent errors with the collection being modified mid loop.

wsmelton/dbatools,kozloski/dbatools,dsolodow/dbatools,Splaxi/dbatools