Skip to content

Instantly share code, notes, and snippets.

@robderickson
Created September 3, 2018 01:14
Show Gist options
  • Save robderickson/30983600b79643e8c435f81b10075918 to your computer and use it in GitHub Desktop.
Save robderickson/30983600b79643e8c435f81b10075918 to your computer and use it in GitHub Desktop.
Adding key to multiple hash tables
if ($ComputerName) {
$GetADRootDSESplat['Server'] = $ComputerName
$GetADObjectSplat['Server'] = $ComputerName
$SetADObjectSplat['Server'] = $ComputerName
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment