Skip to content

milejanic/windows-tools

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

windows-tools

Collection of small PowerShell scripts and one-liners for Windows administration and personal automation.

SR: README.sr.md

Philosophy

This repo is for small, single-file scripts (typically < 200 lines) that solve a specific, narrow problem. Each script is standalone — copy it, read the header, run it.

Larger tools that grow into projects of their own get their own repo:

When a script in this repo outgrows ~200 lines or starts needing its own README/tests, it's promoted to a standalone repo.

Index

Folder What goes here
disk/ Disk and partition utilities
files/ File renaming, deduplication, archiving, format conversion
network/ Wi-Fi, DNS, ports, network info
system/ Windows config, services, registry, updates
dev/ Developer helpers — git, env vars, paths

Usage

Every script is a standalone .ps1 file. To run:

& "C:\path\to\windows-tools\disk\clean-recycle-bin.ps1"

Each script has a .SYNOPSIS and .EXAMPLE header — read it before running.

If a script makes changes to your system, it usually supports -DryRun (or -WhatIf).

Conventions

  • PowerShell 5.1+ compatible (works on stock Windows 10/11).
  • UTF-8 with BOM for files with non-ASCII content.
  • Verb-Noun naming for functions where applicable.
  • Comment-based help (<# .SYNOPSIS ... #>) at the top of every script.
  • Idempotent when possible — running twice should be safe.

Contributing

PRs welcome for new scripts. Keep them small, readable, and self-documenting. If your script grows beyond ~200 lines or needs multiple files, suggest it as its own repo instead.

License

MIT — see LICENSE.

About

Mile Janicic-evi mali PowerShell alati za Windows administraciju i licnu automatizaciju (one-liners, snippets). Veci alati imaju svoj repo (npr. PartitionPilot).

Topics

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors