I hereby claim:
- I am sithtoast on github.
- I am sithtoast (https://keybase.io/sithtoast) on keybase.
- I have a public key ASCss1edC1lm6LoLJ4MmYm62HsQMWB7lw7VrXZrgttQVUgo
To claim this, I am signing this object:
# Grabs all installed hotfixes from domain computers and dumps that into a CSV file. | |
# Put your domain\user here | |
$admin = "domain\support_user" | |
# This will prompt for the password when you run the script. | |
$PW = Read-Host "Enter Password" -AsSecureString | |
# Caches the script. | |
$cred = New-Object System.Management.Automation.PSCredential -ArgumentList $admin, $PW |
# List of all HotFixes containing the patch | |
$hotfixes = "KB4499151", "KB4499165", "KB4494440", "KB4493470", "KB4493446" | |
$ComputerList = Get-Content "servers.txt" | |
foreach($computer in $ComputerList) { | |
if(-not(Test-Connection $computer -Count 1 -quiet)) { | |
Write-Warning "$computer is offline" | |
continue | |
} |
I hereby claim:
To claim this, I am signing this object:
"C:\Shared\_Evault installation files\InfoStageDirector-8-00-7402d.exe" /s /f1C:\backup\silent8up.iss [KeepBackup] [NoRegSat] | |
exit |
#CSV to FTP: The Script | |
#By: William Holt | |
#For: CSI | |
#Date: 06/24/15 | |
#FTP accounts are here in a CSV file. Commas seperate the username and password. | |
$ftpaccounts = Import-csv c:\scripts\bankftp.csv | |
#Counts lines for progress bar. | |
$LinesInFile = 0 |
#!/bin/bash | |
# Dead PIDs Walkin' | |
# William Holt (wholt1@murraystate.edu) | |
# 08.26.14 | |
#export PATH=$PATH:/u01/app/oracle/middleware/FRHome_1/bin/ | |
#sqlplusloc=/u01/app/oracle/middleware/FRHome_1/bin/ | |
NOW=$(date +"%m-%d-%y %H:%M") |
# Pig latin o' Matic - By: William Holt | |
def translate str | |
alpha = ('a'..'z').to_a | |
vowels = %w[a e i o u] | |
consonants = alpha - vowels | |
# oh god regex, so nice, yet so complicated looking | |
# this finds punctuation! | |
str.gsub(/(\A|\s)[\w'’]+/) do |str| | |
# Hunts down words that begin with vowels |