Format-Name

I like and use functions as often as I can and I teach my students to create and use It.
One of my functions that I have been digging out of my repository at home and have
put on my GitHub repository now is Format-Name.

It’s a simple function that will start to trim the value provided.
Then look if It’s more then a name. Then make the first letter to upper and rest to lower.

I use it to fix First Name and Last Name for use with Active Directory, Office 365
and other business systems to have a nice structure on all my names.

The code can be found at my PowerShell GitHub repository.
https://github.com/FredrikWall/PowerShell/tree/master/Functions

You may also like...

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.