A practical collection of reusable PowerShell scripts for Windows setup, SSH access configuration, Git onboarding, developer tooling installation, and everyday infrastructure tasks.
This repository is intended for developers, administrators, and power users who want repeatable, scriptable, and documented setup routines instead of manual clicking through installers and system settings.
script-toolbox is a curated set of focused setup kits that help you:
- configure Windows machines for SSH-based access;
- prepare Git + SSH workflow for a dedicated user;
- install core developer tools in a reproducible way;
- reduce routine environment setup time;
- keep operational knowledge close to the scripts themselves.
The repository is organized as small self-contained toolkits. Each toolkit usually contains:
- the main PowerShell script;
- an English README;
- a Russian README.
Directory: config-ssh-client-windows
Use this kit to prepare a Windows machine for SSH access with public-key authentication.
Main script:
Documentation:
What it does:
- validates elevated PowerShell execution;
- checks OpenSSH server availability;
- creates or prepares a local admin-capable user;
- configures
administrators_authorized_keys; - updates
sshd_config; - validates configuration and restarts
sshd.
Directory: setup-and-config-git-windows
Use this kit to install Git for Windows and configure a clean Git + SSH workflow for a target Windows user.
Main script:
Documentation:
What it does:
- installs Git via
wingetor local installer; - configures user-level
.gitconfig; - installs and places SSH keys;
- builds a managed SSH config block;
- sets sane Git defaults;
- tightens ACLs for
.sshand related files.
Directory: setup-cmake-windows
Use this kit to install CMake on Windows in a straightforward and repeatable way.
Main script:
Documentation:
What it does:
- checks elevation and
winget; - installs CMake from the package source;
- verifies installation with
cmake --version; - temporarily fixes PATH in the current session if needed.
Directory: setup-vs2026-buildtools-windows
Use this kit to automate installation of Visual Studio 2026 Build Tools for native C++ development.
Main script:
Documentation:
What it does:
- resolves a direct bootstrapper URL from the official release history page;
- avoids fragile short-link behavior;
- validates the downloaded file;
- installs Native Desktop C++ workload;
- supports recommended components and extra workloads;
- supports download-only mode.
script-toolbox/
├─ config-ssh-client-windows/
│ ├─ README-setup-windows-openssh-keyonly.md
│ ├─ README-setup-windows-openssh-keyonly-ru.md
│ └─ setup-windows-openssh-keyonly.ps1
├─ setup-and-config-git-windows/
│ ├─ README-setup-windows-git-basic.md
│ ├─ README-setup-windows-git-basic-ru.md
│ └─ setup-windows-git-basic.ps1
├─ setup-cmake-windows/
│ ├─ README-setup-windows-cmake.md
│ ├─ README-setup-windows-cmake-ru.md
│ └─ setup-windows-cmake.ps1
├─ setup-vs2026-buildtools-windows/
│ ├─ README-setup-windows-vs2026-buildtools.md
│ ├─ README-setup-windows-vs2026-buildtools-ru.md
│ └─ setup-windows-vs2026-buildtools.ps1
└─ README.md
Clone the repository:
git clone git@github.com:Lay007/script-toolbox.git
cd script-toolboxRun the desired script from an elevated PowerShell session.
Example: install CMake
Set-ExecutionPolicy Bypass -Scope Process -Force
cd .\setup-cmake-windows
.\setup-windows-cmake.ps1Example: install Visual Studio 2026 Build Tools
Set-ExecutionPolicy Bypass -Scope Process -Force
cd .\setup-vs2026-buildtools-windows
.\setup-windows-vs2026-buildtools.ps1 -IncludeRecommendedExample: install Git and configure SSH
Set-ExecutionPolicy Bypass -Scope Process -Force
cd .\setup-and-config-git-windows
.\setup-windows-git-basic.ps1 `
-Username user-git `
-GitUserName "Alexander" `
-GitUserEmail "alex@example.com" `
-SshPrivateKeyPath C:\user-git\id_ed25519 `
-GitServerHost github.comThis repository follows a few practical rules:
- small focused scripts instead of one oversized monolith;
- explicit parameters instead of hidden assumptions;
- repeatable setup instead of one-off manual actions;
- documentation next to code so usage stays understandable;
- operational safety first with validation and post-run checks where possible.
- Most scripts are intended to be run from elevated PowerShell.
- The current repository is focused on Windows administration and developer environment setup.
- Read the toolkit-specific README before using a script in production or on a remote system.
- For SSH-related changes, it is a good idea to keep an active RDP or console session available while testing access.
This repository may be useful for:
- C++ developers preparing Windows build environments;
- administrators configuring SSH access on Windows hosts;
- engineers setting up Git-based workflows for local or remote machines;
- anyone who prefers scriptable, inspectable setup over manual repetitive steps.
Planned or natural future additions may include:
- more Windows bootstrap scripts;
- package/install helpers for common developer tools;
- workstation provisioning helpers;
- reusable diagnostics and maintenance scripts;
- better indexing and categorization by use case.
Issues and pull requests are welcome.
When contributing, prefer:
- clear script names;
- predictable parameters;
- safe defaults;
- comments only where they add value;
- documentation updates together with behavior changes.
This project is licensed under the MIT License.
See the LICENSE file for details.
Alexander / Lay007
Practical scripts for real Windows setup, SSH workflow, and developer tooling.