I hereby claim:
- I am swizzlez on github.
- I am swizzlez_ (https://keybase.io/swizzlez_) on keybase.
- I have a public key ASCFqa1BvydW7x-xgwGqw_YwAYuu8pna480xR4oHNsIIMwo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
### Keybase proof | |
I hereby claim: | |
* I am swizzlez on github. | |
* I am swizzlez_ (https://keybase.io/swizzlez_) on keybase. | |
* I have a public key ASDX-P5lqE3rKfoAoK51DwhS1gqsQdcjbLngclYT_ut9qQo | |
To claim this, I am signing this object: |
$mytemp = [environment]::getfolderpath("mydocuments") | |
(new-object System.Net.WebClient).DownloadFile('https://github.com/swizzlez/RTTest/raw/master/gavs-unicorns.jpg',"$mytemp\b.jpg"); | |
Add-Type @" | |
using System; | |
[System.Net.ServicePointManager]::SecurityProtocol = [System.Net.SecurityProtocolType]::Tls12; | |
using System.Runtime.InteropServices; | |
using Microsoft.Win32; | |
namespace Wallpaper | |
{ | |
public enum Style : int |
echo "Hello, World!"; |
#### | |
# Run this script in the user data portion of windows images you want to join to your domain. | |
# User needs rights to join computers to the domain. | |
#### | |
<powershell> | |
$domain = "mydomain.local" | |
$password = "Password1" | ConvertTo-SecureString -asPlainText -Force | |
$username = "mydomain\username" | |
$credential = New-Object System.Management.Automation.PSCredential($username,$password) |