For PowerShell 5 try:I'm wondering how to do this for powershell.
Code: Select all
TOTALCMD#BAR#DATA
*"%SystemRoot%\system32\WindowsPowerShell\v1.0\powershell.exe" -NoExit -Command
"cd '%P'"
powershell.exe,1
Elevated Powershell Prompt
-1
Moderators: Hacker, petermad, Stefan2, white
For PowerShell 5 try:I'm wondering how to do this for powershell.
Code: Select all
TOTALCMD#BAR#DATA
*"%SystemRoot%\system32\WindowsPowerShell\v1.0\powershell.exe" -NoExit -Command
"cd '%P'"
powershell.exe,1
Elevated Powershell Prompt
-1