martes, 22 de noviembre de 2022

WINDOWS. PS. Retrieve PowerShell History

Purpose

How to know the command execution history after restarting a PC

This information don't erase when the machine was rebooted


COMMAND: 

get-content C:\Users\*\AppData\Roaming\Microsoft\Windows\PowerShell\PSReadline\ConsoleHost_history.txt

by GoN | Published: November 22 2022 | Last Updated: