Skip to content

Instantly share code, notes, and snippets.

View rmmoore1775's full-sized avatar

Robert Moore rmmoore1775

View GitHub Profile
@Hexalon
Hexalon / Fix-OfficeActivation.ps1
Created May 19, 2016 19:10
Set the KMS host for Office and activates Office.
[CmdletBinding()]
Param ()
<#
.NOTES
===========================================================================
Created with: SAPIEN Technologies, Inc., PowerShell Studio 2016 v5.2.120
Created on: 4/27/2016 14:56
Created by: Colin Squier <hexalon@gmail.com>
Filename: Fix-OfficeActivation.ps1
@danieltharp
danieltharp / DangItBobby.ps1
Created April 6, 2016 22:14
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
@mbrownnycnyc
mbrownnycnyc / veryfastping.ps1
Last active November 1, 2016 01:22
test-connection got you down? ping just not cutting it for you? How about using the System.Net.NetworkInformation.Ping.send() method
# with reference to http://theadminguy.com/2009/04/30/portscan-with-powershell/
function fastping{
[CmdletBinding()]
param(
[String]$computername = "127.0.0.1",
[int]$delay = 100
)
$ping = new-object System.Net.NetworkInformation.Ping
# see http://msdn.microsoft.com/en-us/library/system.net.networkinformation.ipstatus%28v=vs.110%29.aspx