Skip to content

Instantly share code, notes, and snippets.

View endowdly's full-sized avatar

endowdly

View GitHub Profile
@endowdly
endowdly / FormatIntegerCommand.cs
Created November 19, 2021 17:18
Like Format-Hex but faster (probably not better though...)
namespace Endowdly.Commands
{
using System;
using System.Collections;
using System.IO;
using System.Management.Automation;
using System.Text;
[Cmdlet(VerbsCommon.Format, Noun, DefaultParameterSetName = NotAsHexParameterSet)]
public class FormatIntegerCommand : PSCmdlet
@endowdly
endowdly / build.ps1
Created November 19, 2021 17:14
Basic Cmdlet Build Script (No External Tools Needed)
<#PSScriptInfo
.VERSION 1.0.0
.GUID d6ffefc9-781f-4e1b-a46d-0238655151c7
.AUTHOR endowdly
.COMPANYNAME endowdly
.COPYRIGHT 2019
.TAGS
.LICENSEURI
.PROJECTURI
.ICONURI
using System.Collections;
using System.Collections.Concurrent;
using System.Collections.Generic;
using System.Diagnostics.CodeAnalysis;
using System.Globalization;
using System.Linq;
using System.Management.Automation.Internal;
using System.Management.Automation.Language;
using System.Runtime.CompilerServices;
using System.Text.RegularExpressions;