pf-Smb.psm1
#Include-Start DefineModuleHeader $ErrorActionPreference = 'stop' $script:scriptFolder = Split-Path ( Get-PSCallStack )[0].ScriptName -Parent function Get-Metadata_Path { join-path $script:scriptFolder ModuleMetadata.psd1 } function Get-Dependencies () { Get-Module_ExternalModuleDependencies ( Get-Metadata_Path ) } #Include-end DefineModuleHeader . $scriptFolder\pf-Smb.ps1 |