Skip to content

Instantly share code, notes, and snippets.

@JustinGrote
JustinGrote / ModuleFast.ps1
Last active August 17, 2024 11:42
Bootstrap Script for a High Performance Module Installer
using namespace System.Net.Http
#requires -version 7.2
# This is the bootstrap script for Modules
[CmdletBinding(PositionalBinding = $false)]
param (
#Specify a specific release to use, otherwise 'latest' is used
[string]$Release = 'latest',
#Specify the user
[string]$User = 'JustinGrote',
#Specify the repo
@TylerLeonhardt
TylerLeonhardt / AzFuncEnvironment.psm1
Last active August 21, 2020 13:15
Helper module that helps emulate the Azure Functions environment in a PowerShell session.
<#
Helper module that helps emulate the Azure Functions environment in a PowerShell session. It do so by:
1. Modifying the PSModulePath
2. Loading Azure Functions DLLs so custom types are available
3. Setting up TypeForwards for the Http*Context types since the Azure Functions runtime does this
Usage: