+ Adjusted script to allow it to be configured by a JSS Script Parameter. + Accounted for different OS Versions and how SMB is configured in each.