This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ==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== |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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++" |