Get-CurrentScriptPath.ps1

function Get-CurrentScriptPath
{
    param()
    
    process {
        Get-CurrentDocument -Path        
    }
}