Last active
February 16, 2024 01:15
-
-
Save go2tom42/fd620552f33a35dd97ce9c208413175b to your computer and use it in GitHub Desktop.
StartMeUp
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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