Skip to content

Instantly share code, notes, and snippets.

@mbafford
mbafford / summarize_json
Last active February 15, 2025 20:21
summarize_json - Summarize JSON Structure (keys and data types)
#!/usr/bin/env python
#
# MIGRATED TO: https://github.com/mbafford/cli-tools/blob/master/summarize_json
#
# Gives a quick summary of the structure of a JSON file, including the keys, object types, and
# leaf node types. Provides a count of each data type so you can quickly tell which data points
# are common.
#
# Example:
#
@MyITGuy
MyITGuy / ProcMonAltitude.psm1
Last active March 19, 2025 16:58
Registry settings to adjust ProcMon driver altitude
#region Set-ProcMonAltitude
function Set-ProcMonAltitude {
[CmdletBinding()]
PARAM(
[Parameter(Mandatory = $false, Position = 0)]
[int32[]]
$Version = @(23, 24)
,
[Parameter(Mandatory = $false, Position = 1)]
[int32[]]