Skip to content

Instantly share code, notes, and snippets.

@DennisL68
DennisL68 / gist:c8cad4727080f69a9a712caacf5e36fd
Last active October 22, 2019 20:50 — forked from andyoakley/gist:1651859
Simple PivotTable in Powershell
function Invoke-Pivot {
param (
$data,
[string]$rotate, # Bits along the top
[string]$keep, # Those along the side
[string]$value # What to total
)
# Create variable to store the output