This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$Username = "su" | |
$Password = "password" | |
$group = "Administrators" | |
$adsi = [ADSI]"WinNT://$env:COMPUTERNAME" | |
$existing = $adsi.Children | where {$_.SchemaClassName -eq 'user' -and $_.Name -eq $Username } | |
if ($existing -eq $null) { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Use Gists to store code you would like to remember later on | |
console.log(window); // log the "window" object to the console |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
System: Host: honeybadger-XPS-13-9360 Kernel: 4.8.0-34-generic x86_64 (64 bit gcc: 6.2.0) | |
Desktop: Cinnamon 3.2.8 (Gtk 3.20.9) dm: lightdm Distro: Ubuntu 16.10 | |
Machine: System: Dell (portable) product: XPS 13 9360 Chassis: type: 9 | |
Mobo: Dell model: 0839Y6 v: A00 UEFI [Legacy]: Dell v: 1.0.7 date: 09/13/2016 | |
Battery BAT0: charge: 78.9 Wh 104.2% condition: 75.7/78.9 Wh (96%) volts: 8.5/7.6 | |
model: SMP DELL TP1GT61 serial: 2776 status: Full | |
CPU: Dual core Intel Core i7-7500U (-HT-MCP-) cache: 4096 KB | |
flags: (lm nx sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx) bmips: 11600 | |
clock speeds: min/max: 400/3500 MHz 1: 1983 MHz 2: 1216 MHz 3: 2579 MHz 4: 823 MHz | |
Graphics: Card: Intel Device 5916 bus-ID: 00:02.0 chip-ID: 8086:5916 |
NewerOlder