EMLFileSorter.psm1

<#
.NOTES
    Company: BitTitan, Inc.
    Title: EMLFileSorter.psm1
    Author: SUPPORT@BITTITAN.COM
    Requirements:
     
    Version: 1.0
    Date: JANUARY 3, 2017
 
    Disclaimer: This script is provided �AS IS�. No warrantee is provided either expresses or implied.
 
    Copyright: Copyright� 2016 BitTitan. All rights reserved.
     
.SYNOPSIS
  Empty module file -- just calls all the functions packaged with this module.
 
.DESCRIPTION
  .psm1 module file for the EMLFileSorter module.
 
#>


$moduleRoot = Split-Path $MyInvocation.MyCommand.Path

# Importing public functions (these are exposed through the module after import; only one is Sort-EMLFiles)
"$moduleRoot\Public\*.ps1" |
    Resolve-Path |
    ForEach-Object {
        . $_.ProviderPath
    }

# Importing all private helper functions (that are not exposed to the user through the module)
"$moduleRoot\Private\*.ps1" |
    Resolve-Path |
    ForEach-Object {
        . $_.ProviderPath
    }