PSS 2017
Windows 10
PS 5.0
Hi All -
Is is possible to get the full path/ folder where the deployed EXE is running from?
I've tried the following: $PWD, [environment]::CurrentDirectory, get-scriptdirectory, Split-Path $hostinvocation.MyCommand.path
but none have produced the path of the running exe.
thanks.
Get the full path of the EXE
Forum rules
Do not post any licensing information in this forum.
Any code longer than three lines should be added as code using the 'Select Code' dropdown menu or attached as a file.
Do not post any licensing information in this forum.
Any code longer than three lines should be added as code using the 'Select Code' dropdown menu or attached as a file.
Re: Get the full path of the EXE
As always - thanks for the quick info, Jvierra!
Is there a way that shows the full path including the exe itself, by chance?
Is there a way that shows the full path including the exe itself, by chance?