Skip to content

Instantly share code, notes, and snippets.

💭
Coding...

HASSAN ハッサン hovermind

💭
Coding...
Block or report user

Report or block hovermind

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View LetsEncrypt.ps1
#FYI - this is where the vault is created:
#Running as Admin: C:\ProgramData\ACMESharp\sysVault
#Running as User: C:\Users\NAME\AppData\Local\ACMESharp\userVault
Import-Module ACMESharp
$domain = "DOMAINNAME"
$email = "CONTACTEMAIL"
$certOutput = "C:\CertOutput\{0}\{1}" -f $domain, [guid]::NewGuid()
mkdir $certOutput
cd $certOutput
View LetsEncrypt.ps1
Import-Module -Name D:\Temp\ACME-posh\ACMEPowerShell.psd1
$domain = "mydomain.com"
$certificiatePassword = "abcd1234"
$email = "letsencrypt@mydomain.com"
$vault = "D:\Vault\{0}\{1}" -f $domain, [guid]::NewGuid()
mkdir $vault
cd $vault
Initialize-ACMEVault -BaseURI https://acme-v01.api.letsencrypt.org/
New-ACMERegistration -Contacts mailto:$email
View hover.txt
Disable-UAC
Set-ExecutionPolicy Unrestricted -Scope Process -Force
Set-WindowsExplorerOptions -EnableShowHiddenFilesFoldersDrives -EnableShowProtectedOSFiles -EnableShowFileExtensions
choco feature enable -n allowGlobalConfirmation
choco feature enable -n allowEmptyChecksums
cinst Microsoft-Hyper-V-All -source windowsFeatures
refreshenv
@hovermind
hovermind / test.ps1
Last active Dec 8, 2018
boxstarter test
View test.ps1
$Boxstarter.RebootOk=$true
$Boxstarter.NoPassword=$true
$Boxstarter.AutoLogin=$true
choco feature enable -n allowGlobalConfirmation
choco feature enable -n allowEmptyChecksums
cinst battle.net
cinst steam
You can’t perform that action at this time.