This is the updated version of my old LName function.
I changed the name to Get-SNames instead of Get-LNames because ofthat I know that the correct name is not Last Name and It should be Surname instead.
I use It in my create AD lab script and in a couple of other scripts whe
El autor probó el script en estas plataformas. Es probable que también funcione en otras plataformas. Si lo prueba y descubre que funciona en otra plataforma, agregue una nota a la discusión de scripts para informarlo a otras personas.