Types/Posh/get_Process.ps1

<#
.SYNOPSIS
    Gets the PowerShell Process
.DESCRIPTION
    Gets the process currently hosting PowerShell
.EXAMPLE
    $posh.Process
#>

Get-Process -id $PID