PowerShell profile, installation and configuration tools for Windows.
Tested on:
- Windows 10, version 2004
If required, run as admin
# Set-ExecutionPolicy Bypass
To install without repository
$source = "https://raw.github.com/andrejusk/winfiles/master/install.ps1"
# Current PowerShell instance will exit
iex ((new-object net.webclient).DownloadString($source))
To install from within repository
$ . .\bootstrap.ps1
After installing this repository, a CLI utility is available to interact with the functionality provided by the repository:
$ winfiles <action> <option>
To perform all Windows and Chocolatey updates (as admin)
# winfiles update
To configure a new Windows machine including privacy, and performance defaults [1]:
# winfiles config windows
To install/update tools and dependencies using Chocolatey:
# winfiles config deps
To create a Hyper-V VM (WIP)
# winfiles config hyper-v
-
components
– Scripts to execute when starting a new PowerShell instance (see Microsoft.PowerShell_profile) -
config
– Configuration scripts accessible using thewinfiles
CLI utility (see winfiles_functions) -
files
– Tracked files for bootstrap installer (see bootstrap.json)
[1] - jayharris/dotfiles-windows