Skip to content

Instantly share code, notes, and snippets.

View PandieTech's full-sized avatar

Christopher Done PandieTech

View GitHub Profile
function Import-ModuleFunctions(
[Parameter()]
[array]
$Roots = @(
"$PSScriptRoot/public"
"$PSScriptRoot/private"
),
[Parameter()]
[switch]
function Format-Query(
[Parameter(Mandatory)]
[hashtable]
$Table
) {
<#
.SYNOPSIS
Format URI query
.DESCRIPTION
Take a hashtable and format as a URI query string