Skip to content

Instantly share code, notes, and snippets.

# Default env vars
$env:CLUSTER_NAME="k3d-rancher"
$env:RANCHER_SERVER_HOSTNAME="rancher.localhost"
$env:KUBECONFIG_FILE="${env:CLUSTER_NAME}.yaml"
#Get Docker Desktop and WSL2
choco install wsl2 -y
choco install docker-desktop -y
# Get kubectl and helm
@pmietlicki
pmietlicki / gist:6c5504520a078fb8f81e9b5014baa5c8
Created August 24, 2017 12:05
Chocolatey listes paquets pour utilisateur standard
choco install 7zip -y
choco install 7zip.install -y
choco install adblockplus-firefox -y
choco install adobereader -y
choco install adwcleaner -y
choco install autohotkey.portable -y
choco install cccp -y
choco install ccenhancer -y
choco install ccleaner -y
choco install cdburnerxp -y
Set-ExplorerOptions -showHiddenFilesFoldersDrives -showProtectedOSFiles -showFileExtensions
cinst 7zip
cinst 7zip.install
cinst agentransack
cinst ccleaner
cinst cdburnerxp
cinst chocolatey
cinst ChocolateyGUI
cinst driverbooster
cinst 7zip
cinst 7zip.install
cinst agentransack
cinst autohotkey
cinst autohotkey.install
cinst autohotkey.portable
cinst Boxstarter
cinst Boxstarter.Bootstrapper
cinst Boxstarter.Chocolatey
cinst Boxstarter.Common
@pmietlicki
pmietlicki / Schedule-ChocoUpgradeAll.ps1
Created May 16, 2016 21:04 — forked from dstreefkerk/Schedule-ChocoUpgradeAll.ps1
PowerShell script to create a scheduled task that runs a choco upgrade all at machine startup
# See if choco.exe is available. If not, stop execution
$chocoCmd = Get-Command -Name 'choco' -ErrorAction SilentlyContinue -WarningAction SilentlyContinue | Select-Object -ExpandProperty Source
if ($chocoCmd -eq $null) { break }
# Settings for the scheduled task
$taskAction = New-ScheduledTaskAction –Execute $chocoCmd -Argument 'upgrade all -y'
$taskTrigger = New-ScheduledTaskTrigger -AtStartup
$taskUserPrincipal = New-ScheduledTaskPrincipal -UserId 'SYSTEM'
$taskSettings = New-ScheduledTaskSettingsSet -Compatibility Win8
@pmietlicki
pmietlicki / Version 1.2
Last active November 16, 2016 06:41
BoxStarter Work install
Set-ExplorerOptions -showHiddenFilesFoldersDrives -showProtectedOSFiles -showFileExtensions
cinst 7zip
cinst 7zip.install
cinst agentransack
cinst autohotkey
cinst autohotkey.install
cinst autohotkey.portable
cinst Boxstarter
cinst Boxstarter.Bootstrapper
7zip 15.14
7zip.commandline 15.14
7zip.install 15.14
adobereader 2015.007.20033
autohotkey.portable 1.1.23.03
cccp 2015.10.18
ccleaner 5.15.5513
chocolatey 0.9.9.12
ConEmu 16.3.13.0
cpu-z 1.75