Plenty of people have asked, and gotten several variations of answers to, the question "How do I get the path of the script itself in Powershell?". However, in my situation I have a few utility functions stored in a common module alongside the script but I don't actually run the script from that particular directory, instead I have symlink'd the script to $HOME\bin, which I have in PATH. And I do not want to symlink all the utility libraries into the $HOME\bin directory.
How can I get the path of the "real" script path in Powershell, given that the script the user actually runs (i.e. is found in PATH) can be a symlink?