Skip to content

Instantly share code, notes, and snippets.

@go2tom42
Last active February 16, 2024 01:15
Show Gist options
  • Save go2tom42/fd620552f33a35dd97ce9c208413175b to your computer and use it in GitHub Desktop.
Save go2tom42/fd620552f33a35dd97ce9c208413175b to your computer and use it in GitHub Desktop.
StartMeUp
param(
[string]$a
)
Set-Location $env:userprofile
Set-executionpolicy -Force -executionpolicy unrestricted;[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12;
Install-PackageProvider -Name NuGet -Force;
New-PSDrive -Name "Z" -PSProvider "FileSystem" -Root "\\192.168.1.75\share" -Persist
Install-Module -Name tom42tools -Force -AllowClobber;
Import-Module -Name tom42tools -Force;
Set-Activation
Install-Choco
choco install boxstarter
Restore-backup $a
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment