Public/module/Get-OSDModulePath.ps1

function Get-OSDModulePath {
    [CmdletBinding()]
    param ()

    return $MyInvocation.MyCommand.Module.ModuleBase
}