Skip to content

Instantly share code, notes, and snippets.

View ppisarczyk's full-sized avatar

Peter Pisarczyk ppisarczyk

  • Computech
  • United States
View GitHub Profile
@ppisarczyk
ppisarczyk / Get-AdDnsRecords.ps1
Last active April 25, 2017 23:09 — forked from obscuresec/Get-AdDnsRecords
Get-AdDnsRecords
function Get-ADDNSRecords {
<#
update of dns-dump.ps1 by Michael B. Smith
michael at smithcons dot com
https://github.com/mmessano/PowerShell/blob/master/dns-dump.ps1
#>
Param(
[string]$zone = "$env:USERDNSDOMAIN",
[string]$dc = "$(($env:LOGONSERVER).trim('\'))"
)
@ppisarczyk
ppisarczyk / 0_reuse_code.js
Created October 28, 2015 19:20
Here are some things you can do with Gists in GistBox.
// Use Gists to store code you would like to remember later on
console.log(window); // log the "window" object to the console