• Stars
    star
    110
  • Rank 306,410 (Top 7 %)
  • Language
    PowerShell
  • License
    Apache License 2.0
  • Created over 11 years ago
  • Updated 2 months ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

PowerShell Script Tools

PowerShelf - PowerShell Scripts

PowerShell tools for various tasks implemented as scripts, mostly standalone.

Script List

  • Add-Debugger.ps1 - Adds a script debugger to PowerShell.
  • Add-Path.ps1 - Adds a directory to an environment path variable.
  • Assert-SameFile.ps1 - Compares the sample and result files.
  • Debug-Error.ps1 - Enables debugging on terminating errors.
  • Expand-Diff.ps1 - Expands git diff into directories "a" and "b".
  • Export-Binary.ps1 - Exports objects using binary serialization.
  • Format-Chart.ps1 - Formats output as a table with the last chart column.
  • Format-High.ps1 - Formats output by columns with optional custom item colors.
  • Import-Binary.ps1 - Imports objects using binary serialization.
  • Invoke-Environment.ps1 - Invokes a command and imports its environment variables.
  • Invoke-Ngen.ps1 - Invokes the Native Image Generator tool (ngen.exe).
  • Invoke-PowerShell.ps1 - Invokes PowerShell of the currently running version.
  • Measure-Command2.ps1 - Measure-Command with several iterations and progress.
  • Measure-Property.ps1 - Counts properties grouped by names and types.
  • Save-NuGetTool.ps1 - Downloads a NuGet package and extracts /tools.
  • Set-ConsoleSize.ps1 - Sets the current console size, interactively by default.
  • Set-Env.ArgumentCompleters.ps1 - Completes Set-Env.ps1 -Name .
  • Set-Env.ps1 - Sets or removes environment variables (Windows User/Machine).
  • Show-Color.ps1 - Shows all color combinations, color names and codes.
  • Show-Coverage.ps1 - Converts to HTML and shows script coverage data.
  • Show-SolutionDgml.ps1 - Generates and shows the solution project graph.
  • Submit-Gist.ps1 - Submits a file to its GitHub gist repository.
  • Sync-Directory.ps1 - Syncs two directories with some interaction.
  • Test-Debugger.ps1 - Tests PowerShell debugging with breakpoints.
  • Trace-Debugger.ps1 - Provides script tracing and coverage data collection.
  • Update-Gist.ps1 - Updates or creates a gist file using Invoke-RestMethod.
  • Update-ReadmeIndex.ps1 - Updates README index from content directories.
  • Watch-Command.ps1 - Invokes a command repeatedly and shows its one screen output.
  • Watch-Directory.ps1 - File change watcher and handler.

Get Scripts

The scripts are published as the NuGet package PowerShelf.

Download by NuGet tools or directly. Save as .zip and unzip. Use the package subdirectory tools.

Or, using downloaded on the fly Save-NuGetTool.ps1 download and unzip:

Invoke-Expression "& {$((New-Object Net.WebClient).DownloadString('https://raw.githubusercontent.com/nightroman/PowerShelf/main/Save-NuGetTool.ps1'))} PowerShelf"

See Also

More Repositories

1

Invoke-Build

Build Automation in PowerShell
PowerShell
603
star
2

PowerShellTraps

Collection of PowerShell traps and oddities
PowerShell
422
star
3

Mdbc

MongoDB Cmdlets for PowerShell
PowerShell
136
star
4

FarNet

Far Manager framework for .NET modules and scripts in PowerShell, F#, JavaScript.
C#
128
star
5

SplitPipeline

Parallel Data Processing in PowerShell
PowerShell
122
star
6

Helps

PowerShell Help Builder
PowerShell
41
star
7

PS-GuiCompletion

A graphical menu for PowerShell tab completions.
PowerShell
40
star
8

PsdKit

PowerShell data (psd1) tool kit
PowerShell
39
star
9

Ldbc

LiteDB Cmdlets, the document store in PowerShell
PowerShell
39
star
10

FarNet.FSharp.PowerShell

F# friendly PowerShell Core helper
F#
20
star
11

Xmlips

XML in PowerShell
PowerShell
14
star
12

Invoke-Build.template

Invoke-Build script template
PowerShell
4
star
13

BsonFile

BSON/JSON file collections in MongoDB, PowerShell module
PowerShell
4
star
14

FarLite

PowerShell module with LiteDB browser in Far Manager
PowerShell
3
star
15

FarDescription

Far Manager style descriptions of files and directories
C#
3
star
16

ClearScript

ClearScript and FarNet lab for Far Manager scripting in JavaScript
PowerShell
2
star
17

FarMongo

PowerShell module with MongoDB browser in Far Manager
PowerShell
2
star
18

FarGit

Deprecated and replaced by https://github.com/nightroman/FarNet/tree/main/GitKit
PowerShell
1
star
19

FarNet.FSharp.Data

FSharp.Data package for FarNet.FSharpFar
PowerShell
1
star
20

FarNet.template

FarNet module and script template
PowerShell
1
star
21

FarNet.FSharp.Charting

FarNet friendly FSharp.Charting extension
F#
1
star