Modify map drive script

Can this script (Map Network Drive) be modified to remove a specific drive letter and remap it to a new location?

https://scripts.itarian.com/frontend/web/topic/map-network-path-to-drive

Hello @phil.tukey, we have informed our ITarian Team to review your request and get back to your case as quickly as possible.
Follow-up email should be coming from support@itarian.com.

Thank you.