Skip to content

Instantly share code, notes, and snippets.

View EnviableOne's full-sized avatar

Peter Marquis EnviableOne

View GitHub Profile
@EnviableOne
EnviableOne / Find-String.ps1
Created February 26, 2018 13:34 — forked from indented-automation/Find-String.ps1
Binary searcher
function Find-String {
<#
.SYNOPSIS
Find a matching string from an alphabetically sorted file.
.DESCRIPTION
Find-String is a specialised binary (half interval) searcher designed to find matches in sorted ASCII encoded text files.
.NOTES
Change log:
11/08/2014 - Chris Dent - First release.
#>
@EnviableOne
EnviableOne / DangItBobby.ps1
Created January 17, 2020 11:25 — forked from danieltharp/DangItBobby.ps1
PowerShell script to find where a user is logged into on the network and disable their NIC.
# ********************************************************************************
#
# Script Name: DangItBobby.ps1
# Version: 1.0.0
# Author: bluesoul <https://bluesoul.me>
# Date: 2016-04-06
# Applies to: Domain Environments
#
# Description: This script searches for a specific, logged on user on all or
# specific Computers by checking the process "explorer.exe" and its owner. It