Skip to content

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

Notifications You must be signed in to change notification settings

randriksen/ExtendedHistory

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 

Repository files navigation

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>

About

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

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published