Skip to content

Instantly share code, notes, and snippets.

View mikepruett3's full-sized avatar

Mike Pruett mikepruett3

View GitHub Profile
@mikepruett3
mikepruett3 / mycygwininst.cmd
Last active February 26, 2023 01:42
Batch Script (cmd) to Download and Install the appropriate version of Cygwin with custom packages!!!
:: Name: mycygwininst.cmd
:: Purpose: Downloads and Installs Cygwin with custom packages
:: Author: [email protected]
:: Revision: 20161106 - initial version
@ECHO OFF
SETLOCAL ENABLEEXTENSIONS
SET _script=%~n0
SET _parentdir=%~dp0
:: Name: updcygwin.cmd
:: Purpose: Updates Existing Cygwin Installation
:: Author: [email protected]
:: Revision: 20170118 - initial version
@ECHO OFF
SETLOCAL ENABLEEXTENSIONS
SET _script=%~n0
SET _parentdir=%~dp0
Install Windows Assessment and Deployment Kit (ADK), including the Windows PE feature
Click Start, and type deployment. Right-click Deployment and Imaging Tools Environment and then select Run as administrator.
In the Deployment Tools and Imaging Environment, copy the WinPE files for the PCs you want to boot. The 64-bit version can boot 64-bit UEFI and 64-bit BIOS PCs.
copype amd64 C:\WinPE_amd64
The 32-bit version of WinPE can boot 32-bit UEFI, 32-bit BIOS, and 64-bit BIOS PCs.
copype x86 C:\WinPE_x86
@mikepruett3
mikepruett3 / shell-setup.ps1
Last active November 6, 2024 04:07
Packages to install via scoop, winget, choco, and other tools...
<#
.SYNOPSIS
Script to Initialize my custom powershell setup.
.DESCRIPTION
Script uses scoop
.NOTES
**NOTE** Will configure the Execution Policy for the "CurrentUser" to Unrestricted.
Author: Mike Pruett
Date: October 18th, 2018
@mikepruett3
mikepruett3 / arch-setup.sh
Last active June 20, 2024 04:44
A setup script for my Default Arch Linux installation
#!/usr/bin/env bash
## Install base
pacman -Syu base
# Initial Setup
## Install git if is unavailable on the system
if ! [ -x "$(command -v git)" ]; then
pacman -S git
fi