Skip to content

Instantly share code, notes, and snippets.

@"%SystemRoot%\System32\WindowsPowerShell\v1.0\powershell.exe" -NoProfile -InputFormat None -ExecutionPolicy Bypass -Command "iex ((New-Object System.Net.WebClient).DownloadString('https://chocolatey.org/install.ps1'))" && SET "PATH=%PATH%;%ALLUSERSPROFILE%\chocolatey\bin"
choco install chocolateygui acrobatreader googlechrome firefox winrar 7zip notepadplusplus vlc teamviewer rdcman microsoft-teams slack rsat -y
@infestacool
infestacool / enable_secureToken.sh
Created February 8, 2018 22:00
Run this logged in as a user to enable secureToken for that user. It will prompt for admin credentials and the the user's password.
#!/bin/bash
echo We will enable SecureToken on $USER
sysadminctl interactive -secureTokenOn $USER -password -
exit 0
#!/bin/sh
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
brew update
brew upgrade
brew tap caskroom/cask
brew cask -caskroom=/Applications