Skip to content

Instantly share code, notes, and snippets.

Investigating a better artifact workflow

Jake Morrison techthoughts2

Investigating a better artifact workflow
View GitHub Profile
nohwnd / .gitignore
Last active Jun 8, 2021
Use Pester code coverage with CoverageGutters in VSCode
View .gitignore
darko-mesaros / github_cfn.yml
Created May 25, 2020
Creation of GitHub repositories via AWS CloudFormation
View github_cfn.yml
AWSTemplateFormatVersion: "2010-09-09"
Description: >
Type: String
Description: Enter the name for your repository
Default: please-change-me
austoonz / Get-AWSCommandsFromFile.ps1
Created Feb 14, 2020
This function will use the PowerShell Parser, and the Get-AWSCmdletName cmdlet (found in AWS.Tools.Common, AWSPowerShell or AWSPowerShell.NetCore) to find and output all AWS Cmdlets from a script. This can be used to assist with migrations to the AW
View Get-AWSCommandsFromFile.ps1
function Get-AWSCommandsFromFile {
param (
[ValidateScript({Test-Path -Path $_ -PathType Leaf})]
$awsCommands = @{}
$tokens = [System.Management.Automation.PSParser]::Tokenize((Get-Content -Path $FilePath -Raw), [ref]$null)
austoonz / Invoke-FastPing
Last active Mar 1, 2019
A PowerShell Function that uses asynchronous ping commands to quickly ping a fleet of target machines.
View Invoke-FastPing
# This has been replaced by the FastPing PowerShell Module.
## Source
## Installation
Install-Module -Name FastPing -Scope CurrentUser
SteveL-MSFT / profile.ps1
Last active Jul 4, 2021
PowerShell Prompt
View profile.ps1
#Requires -Version 7
# Version 1.2.10
# check if newer version
$gistUrl = ""
$latestVersionFile = [System.IO.Path]::Combine("$HOME",'.latest_profile_version')
$versionRegEx = "# Version (?<version>\d+\.\d+\.\d+)"
if ([System.IO.File]::Exists($latestVersionFile)) {