samintz Scott Mintz May 1,590 27 2018-01-15 #1 Is this behavior expected? I.e. the default directory changes from 'C:\temp' to 'C:\users\mintz\documents' for the PSHELL command. Code: [C:\Temp] $ pshell /s "pwd" Path ---- C:\Users\mintz\Documents [C:\Temp] $ powershell -command "PWD" Path ---- C:\Temp
Is this behavior expected? I.e. the default directory changes from 'C:\temp' to 'C:\users\mintz\documents' for the PSHELL command. Code: [C:\Temp] $ pshell /s "pwd" Path ---- C:\Users\mintz\Documents [C:\Temp] $ powershell -command "PWD" Path ---- C:\Temp
vefatica May 13,210 180 2018-01-15 #2 Same here. IMHO, the second is preferred. Code: v:\> pshell /s "pwd" Path ---- C:\Users\vefatica\Documents v:\> powershell -command "PWD" Path ---- V:\
Same here. IMHO, the second is preferred. Code: v:\> pshell /s "pwd" Path ---- C:\Users\vefatica\Documents v:\> powershell -command "PWD" Path ---- V:\
rconn Administrator May 13,235 209 Staff member 2018-01-15 #3 TCC doesn't have anything to do with that.