Skip to content

Instantly share code, notes, and snippets.

View tsmarvin's full-sized avatar

Taylor Marvin tsmarvin

View GitHub Profile
@tsmarvin
tsmarvin / !README.MD
Last active November 10, 2023 03:46
TM-ValidationUtility

TM-ValidationUtility Module

Introduction

TM-ValidationUtility is a PowerShell module that provides custom validation attributes for enhanced parameter validation. It offers attributes for checking the existence of paths, validating IPv4 addresses, and ensuring the correct format for GitHub Gist URIs.

This module is part of a suite of tools designed to improve and streamline the PowerShell commandline and scripting experience.
Check out the rest of the modules by visiting my page on the PowerShell Gallery.

Features

  • ValidatePathExistsAttribute: Ensures file or directory paths exist, with the ability to specify files, folders, or any.
@tsmarvin
tsmarvin / !README.MD
Last active May 17, 2025 11:44
TM-ProfileUtility

TM-ProfileUtility Module

Introduction

TM-ProfileUtility is a PowerShell module designed to provide various profile-related utility functions. Specifically this module is designed for use with my PowerShell Profile.

This module is part of a suite of tools designed to improve and streamline the PowerShell commandline and scripting experience.
Check out the rest of the modules by visiting my page on the PowerShell Gallery.

Features

@tsmarvin
tsmarvin / !README.MD
Last active October 3, 2024 17:38
TM-PSGitHubGistManagement

TM-PSGitHubGistManagement Module

Introduction

TM-PSGitHubGistManagement is a PowerShell module that provides GitHub Gist-related utility functions. It allows you to download a script hosted in a gist, as well as allowing you to update it again from that gist later.

This module is part of a suite of tools designed to improve and streamline the PowerShell commandline and scripting experience.
Check out the rest of the modules by visiting my page on the PowerShell Gallery.

Features

  • Get-GistScript: Retrieves scripts from a Gist.
@tsmarvin
tsmarvin / !README.MD
Last active April 8, 2025 00:17
TM-SessionHistory

TM-SessionHistory Module

Introduction

TM-SessionHistory is a PowerShell module that provides functionality for recording and managing session command histories. It is designed to enhance the capability to review commands executed within a PowerShell session, or across different PowerShell sessions.

This module is part of a suite of tools designed to improve and streamline the PowerShell command line and scripting experience.
Check out the rest of the modules by visiting my page on the PowerShell Gallery.

Features

  • Get-SessionHistory: Retrieves the command history from a PowerShell or Bash shell session. It allows for extracting commands based on the session GUID or retrieving all commands from the session history.
@tsmarvin
tsmarvin / !README.MD
Last active April 8, 2025 00:10
TM-RandomUtility

TM-RandomUtility Module

Introduction

TM-RandomUtility is a PowerShell module that provides a collection of random utility functions. These utilities are intended to enhance the flexibility of scripting tasks in PowerShell by providing various random utilities.

This module is part of a suite of tools designed to improve and streamline the PowerShell commandline and scripting experience.
Check out the rest of the modules by visiting my page on the PowerShell Gallery.

Features

  • Get-DotnetFrameworkVersions: Retrieve the dotnet framework versions for dotnet projects in a given directory.
@tsmarvin
tsmarvin / !README.MD
Last active April 8, 2025 00:18
TM-GitUtility

TM-GitUtility Module

Introduction

TM-GitUtility is a PowerShell module that provides various Git related utility functions. This module simplifies Git operations within the PowerShell environment, making it easier to manage Git repositories and their associated workflows.

This module is part of a suite of tools designed to improve and streamline the PowerShell command line and scripting experience.
Check out the rest of the modules by visiting my page on the PowerShell Gallery.

Features

  • Get-GitBranch: Retrieves the current Git branch along with a relevant symbol for master/main or development branches for easy identification.
@tsmarvin
tsmarvin / !README.MD
Last active April 8, 2025 00:19
TM-DockerUtility

TM-DockerUtility Module

Introduction

TM-DockerUtility is a PowerShell module that provides various Docker-related utility functions. This module simplifies Docker operations within the PowerShell environment, making it easier to manage Docker containers and images.

This module is part of a suite of tools designed to improve and streamline the PowerShell command line and scripting experience.
Check out the rest of the modules by visiting my page on the PowerShell Gallery.

Features

  • New-MountPoint: Creates a custom MountPoint object for connecting to Docker images. MountPoints facilitate the mounting of local paths to container paths during Docker container creation.
@tsmarvin
tsmarvin / !README.MD
Last active November 25, 2023 20:54
TM-DataManipulation

TM-DataManipulation Module

Introduction

TM-DataManipulation is a PowerShell module containing classes and functions designed to handle ranges of integers, manage semantic versioning, and perform string operations.

This module is part of a suite of tools designed to improve and streamline the PowerShell commandline and scripting experience.
Check out the rest of the modules by visiting my page on the PowerShell Gallery.

Features

  • Get-ContiguousRange: Generates a range of contiguous integers.
@tsmarvin
tsmarvin / !README.MD
Last active April 8, 2025 00:21
TM-WindowsUtility

TM-WindowsUtility Module

Introduction

TM-WindowsUtility is a PowerShell module that provides a set of utilities for managing and interacting with Windows features. It encompasses a variety of functions that extend the built-in Windows management capabilities provided directly from PowerShell.

This module is part of a suite of tools designed to improve and streamline the PowerShell commandline and scripting experience.
Check out the rest of the modules by visiting my page on the PowerShell Gallery.

Features

  • Get-COMDetails: Retrieves extended file properties using COM (Component Object Model) and returns the key/value pairs as a PSCustomObject.
@tsmarvin
tsmarvin / !README.MD
Last active August 22, 2022 22:01
WindowsTerminal Settings

Windows Terminal Settings

These are my Windows Terminal settings. Feel free to use any of the settings.

The value for %OneDrive% must be changed to a valid path. That path will need to be updated for both the windows profiles and the linux profiles (following the separate path conventions).