Skip to content

Instantly share code, notes, and snippets.

// ==UserScript==
// @name TH-LoggingLib
// @namespace https://github.com/tobiashochguertel/userscript-lib
// @version 1.0.0
// @description Advanced logging system for UserScripts with level control
// @author tobiashochguertel
// @match *://*/*
// @grant none
// @run-at document-start
// ==/UserScript==
@tobiashochguertel
tobiashochguertel / Add-Path.ps1
Last active September 20, 2015 19:33
Add-Path Cmdlet
function Add-Path {
<#
.SYNOPSIS
Adds a Directory to the Current Path
.DESCRIPTION
Add a directory to the current path. This is useful for temporary
changes to the path or, when run from your profile, for adjusting
the path within your powershell prompt.
.EXAMPLE
Add-Path -Directory "C:\Program Files\Notepad++"