updated with pipeline function and error handling.
updated with pipeline function and error handling.

Includes logging, and removing of mapped drives if they have already been created.  Script is sanitized.
jonathanelbailey/PowerShell-Code-Samples,jonathanelbailey/PowerShell-Code-Samples,jebaile7964/PowerShell-Code-Samples,jebaile7964/PowerShell-Code-Samples