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
Set-ExecutionPolicy Bypass -Scope Process -Force; [System.Net.ServicePointManager]::SecurityProtocol = [System.Net.ServicePointManager]::SecurityProtocol -bor 3072; iwr https://chocolatey.org/install.ps1 -UseBasicParsing | iex | |
choco install ` | |
git ` | |
adobereader ` | |
github-desktop ` | |
googlechrome ` | |
notepadplusplus ` | |
7zip ` | |
pgadmin4 ` |
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
# Can run from anywhere | |
# Photos coded to be present in D:\photos subfolders | |
# Will also work on mp4 video files if present | |
# Folders labeled with dates will be created at script execution based on first photo with new date field | |
# Photos will be copied to D:\photos\date-taken | |
$startscript = get-date | |
$shortdate = get-date -format MM-dd-yy | |
$systemrunning = hostname | |
$runpath = get-location |
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
# Search a folder directory for strings in specific file types only | |
Get-ChildItem *.* -Recurse -Include "*.json","*.xaml","*.ps1" | Select-string -pattern "Find Me" |
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
# Show DHCP inbound requests as well as DHCP INFORM | |
(ip.addr == 10.xx.xx.xx || ip.addr == 255.255.255.255) && dhcp |
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
# | |
# Developer tab enabled in Word using File | Options | Customize Ribbon | CHECK Developer option in right column. | |
# | |
# Select Visual Basic under Developer tab and Double click on the created Module 1 to edit it | |
# Paste the following code into the module and then click the Play button at the top to run it on the current document | |
# | |
Sub SetupAllPictureSize() | |
Dim objInlineShape As InlineShape | |
Dim objShape As Shape |
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
<%@ Page Language="C#" AutoEventWireup="true" EnableSessionState="False" EnableViewState="False" EnableViewStateMac="False" %> | |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | |
<html xmlns="http://www.w3.org/1999/xhtml" > | |
<head runat="server"> | |
<title>Header Dump - East US</title> | |
</head> | |
<body style="background-color:lightgreen;"> | |
<h1>Header Dump - East US</h1><p> |
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
# | |
# Scripts to create the AD OUs, Groups, and users | |
# Accounts are created in a disabled state so that the password issue during bulk creation is not a problem, reset passwords and enable accounts as needed | |
# Create OUs first, Create Domain Groups Second, Create Users Last (User creation will autopopulate groups) | |
# | |
# Ensure network mapping to source .csv files prior to running scripts, and recommended to run scripts from powershell ISE interface | |
# | |
# CREATE OU STRUCTURE |
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
# From: | |
# reddit.com/pfsense pfBlockerNG invalid certificate with google.com; CN_DNSBL | |
# Basics on troubleshooting whitelist additions: https://www.reddit.com/r/pfBlockerNG/comments/apx9uc/whitelisting_sites_not_working/ | |
# Find a feed that has a domain in it: | |
grep "google" /var/db/pfblockerng/dnsbl/* | |
# See if that is in the final database (not whitelisted by Alexa or other override): | |
grep "google" /var/unbound/pfb_dnsbl.conf |
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
# Cities Skylines Source/Destination Folders | |
C:\Users\AccountName\AppData\Local\Colossal Order\Cities_Skylines | |
C:\Program Files (x86)\Steam\steamapps\common\Cities_Skylines |
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
Set-ExecutionPolicy Bypass -Scope Process -Force; [System.Net.ServicePointManager]::SecurityProtocol = [System.Net.ServicePointManager]::SecurityProtocol -bor 3072; iwr https://chocolatey.org/install.ps1 -UseBasicParsing | iex | |
#Basic Computer Installation | |
choco install ` | |
notepadplusplus ` | |
7zip ` | |
adobereader ` | |
winscp ` | |
putty ` | |
wireshark ` |
NewerOlder