Skip to content

Instantly share code, notes, and snippets.

Avatar
👻

Kevin Crouch PsychoData

👻
View GitHub Profile
@PsychoData
PsychoData / Enable_Boot_Diagnostics.json
Last active Jul 8, 2021
Boot Diagnostics - DeployIfNotExist
View Enable_Boot_Diagnostics.json
{
"mode": "All",
"policyRule": {
"if": {
"allOf": [
{
"field": "type",
"equals": "Microsoft.Compute/virtualMachines"
},
{
View Check-ParkedDomains-SPF-DKIM-MX-DMARC.ps1
$domainslist = 'example.com','otherexample.com','otherparkeddomain.com'
function Check-ParkedDomains-SPF-DKIM-MX-DMARC (
[Parameter(Mandatory=$true)]
[ValidateNotNullOrEmpty()]
[string[]]$domainsToCheck,
[switch]$PauseBetweenSets
) {
@PsychoData
PsychoData / SSL_iDRAC_EnterpriseCA.ps1
Created Feb 20, 2018
A Script to generate, sign. and upload an SSL cert to an Dell iDRAC for http://www.contoso.one/2018/02/updating-idrac-ssl-certs-through.html
View SSL_iDRAC_EnterpriseCA.ps1
#Requires -Version 5
#region Requirements
#Make sure you have DRAC tools installed, including racadm https://www.dell.com/support/home/us/en/4/Drivers/DriversDetails?driverId=K7F2N
If (!$(get-command racadm.exe -ErrorAction SilentlyContinue)) {Write-Host "Exiting, racadm does not exist"; Exit }
If (!$(get-command certreq.exe -ErrorAction SilentlyContinue)) {Write-Host "Exiting, certreq does not exist. Please install Certificate services tools."; Exit }
#endregion
$IP = '192.168.100.215' #Hostname also works if DNS is already setup
$idraccred = Get-Credential -Message "Please provide iDrac Login for $IP"
View Get-ProxyAddresses
function Get-ProxyAddresses
{
Param(
[Parameter(Mandatory=$true)]
[string[]]$username,
[string[]]$domains = 'domain.com'
)
#Strip off any leading @ signs people may have provided. We'll add these later
$domains = $domains.Replace('@','')
View Get-ProxyAddresses
function Get-ProxyAddresses
{
Param(
[Parameter(Mandatory=$true)]
[string[]]$username,
[string[]]$domains = 'domain.com'
)
#Strip off any leading @ signs people may have provided. We'll add these later
$domains = $domains.Replace('@','')
View GenerateFakeMailinatorEmails.ps1
$FirstNames = "John","William","James","George","Charles","Robert","Joseph","Frank","Edward","Thomas","Henry","Walter","Harry","Willie","Arthur","Albert","Clarence","Fred","Harold","Paul","Raymond","Richard","Roy","Joe","Louis","Carl","Ralph","Earl","Jack","Ernest","David","Samuel","Howard","Charlie","Francis","Herbert","Lawrence","Theodore","Alfred","Andrew","Elmer","Sam","Eugene","Leo","Michael","Lee","Herman","Anthony","Daniel","Leonard","Floyd","Donald","Kenneth","Jesse","Russell","Clyde","Oscar","Peter","Lester","Leroy","Ray","Stanley","Clifford","Lewis","Benjamin","Edwin","Frederick","Chester","Claude","Eddie","Cecil","Lloyd","Jessie","Martin","Bernard","Tom","Will","Norman","Edgar","Harvey","Ben","Homer","Luther","Leon","Melvin","Philip","Johnnie","Jim","Milton","Everett","Allen","Leslie","Alvin","Victor","Marvin","Stephen","Alexander","Jacob","Hugh","Patrick","Virgil","Horace","Glenn","Oliver","Morris","Vernon","Archie","Julius","Gerald","Maurice","Sidney","Marion","Otis","Vincent","Guy","Earnest","Wi
View keybase.md

Keybase proof

I hereby claim:

  • I am psychodata on github.
  • I am pyschodata91 (https://keybase.io/pyschodata91) on keybase.
  • I have a public key whose fingerprint is 639A 01A3 DEB8 73AB 1A9E A4D2 7914 38A3 E746 35B7

To claim this, I am signing this object:

View keybase.md

Keybase proof

I hereby claim:

  • I am Psychodata91 on github.
  • I am pyschodata91 (https://keybase.io/pyschodata91) on keybase.
  • I have a public key whose fingerprint is 639A 01A3 DEB8 73AB 1A9E A4D2 7914 38A3 E746 35B7

To claim this, I am signing this object:

View Idea.md

Maybe I'm crazy to think so, but an online editor that automatically synced to a git repos would be awesome. Could either a hosted service that i would totally pay for so that i could log on and edit the same set of source from anywhere or somehow connect to githubs copy and edit it directly. If any of you out there want to make this. I would totally pay for this.

This is actually a thing now - Github1S

take a Github URL like https://github.com/PsychoData/O365-InvestigationTooling and change "github.com" to "github1s.com"
https://github1s.com/PsychoData/O365-InvestigationTooling and you have cloud-based VSCode Editor