MAC Address validations - Format Conversion to XX:XX:XX:XX:XX:XX

Need a function to validate MAC Address input and if they were valid convert them to a formatValidate-MAC -MACAddress %MAC%Where %MAC% could have these format sxxxxxxxxxxxx xxxx.xxxx.xxxx xx-xx-xx-xx-xx-xx The function will then return the valid mac in XX:XX:XX:XX:XX:XX

Validate-MAC.ps1
 
 
 
 
 
(0)
84 times
Add to favorites
3/26/2019
E-mail Twitter del.icio.us Digg Facebook
Sign in to ask a question


Be the first to ask a question.