Skip to content

Instantly share code, notes, and snippets.

View Mario-Kart-Felix's full-sized avatar
💭
Optimistic

Phantom Mario-Kart-Felix

💭
Optimistic
View GitHub Profile
@Mario-Kart-Felix
Mario-Kart-Felix / god.js
Created January 30, 2021 22:42 — forked from Raynos/god.js
var extend = require("xtend")
function Element(elem) {
return extend(ever(elem), {
hide: hidden.bind(null, elem)
, classes: classes.bind(null, elem)
, delegate: delegate.bind(null, elem)
})
}
Retrieves all of the trust relationships for this domain - Does not Grab Forest Trusts
([System.DirectoryServices.ActiveDirectory.Domain]::GetCurrentDomain()).GetAllTrustRelationships()
Grab Forest Trusts.
([System.DirectoryServices.ActiveDirectory.Forest]::GetCurrentForest()).GetAllTrustRelationships()