This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
# 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: | |
# | |
# $ curl -sS 'https://raw.githubusercontent.com/johan/world.geo.json/master/countries.geo.json' | python summarizejson | |
# 9191 {features}.[].{geometry}.{coordinates}.[].[].[].[].float | |
# 41 {features}.[].{geometry}.{coordinates}.[].[].[].[].int |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#region Set-ProcMonAltitude | |
function Set-ProcMonAltitude { | |
[CmdletBinding()] | |
PARAM( | |
[Parameter(Mandatory = $false, Position = 0)] | |
[int32[]] | |
$Version = @(23, 24) | |
, | |
[Parameter(Mandatory = $false, Position = 1)] | |
[int32[]] |