Lets start from the beginning in simple terms to a beginner(me).

what would be the command to delete a mapped network drive. I have mapped T to \\fileserver\net_share.

deldrive t: "\\fileserver\net_share"

This does not work can someone please explain in simple terms explaining what each stage of the script does.
_________________________
Any problem encountered is a challenge to overcome.