Quantcast
Viewing latest article 10
Browse Latest Browse All 20

GET-History with PSHELL

I am using;
Code:
  _x64: 1
_admin: 1

TCC  24.02.49 x64   Windows 10 [Version 10.0.18362.116]

Using Get-History via PSHELL /S does not return anything.

I have tried;
Code:
e:\utils>pshell /s "Get-History"

...and;
Code:
e:\utils>pshell /s "Get-History | out-file 'e:\utils\results.txt'"

e:\utils>type results.txt

...and;
Code:
e:\utils>pshell /s "$x = Get-History"

e:\utils>pshell /s "$x"

Is this WAD? I have no problem with the Get-History command working in...

Read more

Viewing latest article 10
Browse Latest Browse All 20

Trending Articles