I need to change telephone number in AD, and I have the code for that, but just wondering how to format the input.
I ask "Type the new TELEPHONE Number:" it will be nice to be something like
Type the new TELEPHONE Number: - -
then user types
Type the new TELEPHONE Number: 303-333-3333
So between : and - there are 4 spaces and 3 spaces between - and -
The code I have is
$InputTelephoneNumber = Read-Host 'Type the new TELEPHONE Number'
Is it possible ?