Skip to content

Latest commit

 

History

History
32 lines (24 loc) · 975 Bytes

README.md

File metadata and controls

32 lines (24 loc) · 975 Bytes

ExtendedHistory

A PowerShell module to improve Get-History and Invoke-History

Description

The ExtendedHistory PowerShell module allows you to work with and manipulate the command history in PowerShell outside the current session. It provides functions to retrieve extended history, and invoke commands from the history.

Manual Installation

  1. Clone or download this repository.
  2. Extract the contents to a directory.
  3. Open a PowerShell session and navigate to the directory containing ExtendedHistory.psd1.
  4. Import the module using:
Import-Module .\ExtendedHistory.psd1

Usage

The ExtendedHistory module provides several functions to work with the extended PowerShell command history.

Get-ExtendedHistory

# Retrieve and display the extended command history
Get-ExtendedHistory

Invoke-ExtendedHistory

# Invoke a command from the extended command history
Invoke-ExtendedHistory -i <index>