Skip to content

Instantly share code, notes, and snippets.

View severud's full-sized avatar
🙌
Trying to automate all the things

Kevin Severud severud

🙌
Trying to automate all the things
View GitHub Profile

Console

Install Chocolatey

Set-ExecutionPolicy Bypass -Scope Process -Force; [System.Net.ServicePointManager]::SecurityProtocol = [System.Net.ServicePointManager]::SecurityProtocol -bor 3072; iex ((New-Object System.Net.WebClient).DownloadString('https://community.chocolatey.org/install.ps1'))

Optional: Scoop

iwr -useb get.scoop.sh | iex
<site-list version="205">
<!-- File creation header -->
<created-by>
<tool>EnterpriseSitelistManager</tool>
<version>10240</version>
<date-created>20150728.135021</date-created>
</created-by>
<!-- Begin Site List -->
<site url="www.cpandl.com">
<compat-mode>IE8Enterprise</compat-mode>
Set-Alias -Name lock -Value Lock-Computer
Function Lock-Computer {
rundll32.exe user32.dll,LockWorkStation
} #PowerShell

Keybase proof

I hereby claim:

  • I am severud on github.
  • I am severud (https://keybase.io/severud) on keybase.
  • I have a public key whose fingerprint is 4033 67FF 3BC1 8975 D1AB BA65 730F 35EA 0685 72CD

To claim this, I am signing this object: