In PowerShell, there is no automatic variable that stores the current process's parent process ID (such as $PPID which is seen in (some?) Unix Shells).
However, it is possible to determine the parent process id like so:
In PowerShell Core, the object returned by get-process has a Parent property which is a System.Diagnostics.Process object referring to the parent process.