Coder Social home page Coder Social logo

1999azzar / windows-script-collection Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 1.0 53 KB

This repository contains a collection of Windows scripts designed to enhance various aspects of your Windows machine. Each script serves a specific purpose and is accompanied by a README file with instructions on how to use it.

Home Page: https://1999azzar.github.io/Windows-Script-Collection/

License: The Unlicense

Batchfile 50.37% PowerShell 49.63%
battery-management-system firewall-rules network-security windows file-organization

windows-script-collection's Introduction

Windows Script Readme

Description: This script lets you set the maximum battery charge level on your Windows machine, enhancing battery lifespan. It offers two options: using a .bat or .ps1 file.

How It Works: The script uses Windows PowerShell commands to adjust battery charge settings based on your input percentage.

How to Use:

  • For .bat: Run as administrator.
  • For .ps1: Run in PowerShell with admin privileges.

Overview: Manage Windows Firewall rules for .exe files. Choose to block or remove rules for .exe files in the script's directory, improving system security.

Prerequisites: Windows OS, admin privileges, basic script usage knowledge.

How It Works: Two scripts available: .bat (simple) and .ps1 (advanced). They detect .exe files in the script's directory and allow you to block or remove firewall rules.

How to Use:

  • For .bat: Save in the directory with .exe files and run.
  • For .ps1: Run in PowerShell with admin privileges, navigate to the script's directory, and execute.

Description: These scripts enable you to set the TTL (Time to Live) value on your Windows machine, affecting data packet lifetimes.

How They Work: Both scripts have a similar process: run as administrator, choose TTL (64, 128, or Custom), and set the chosen TTL value in the Windows Registry.

How to Use:

  • For set_ttl.bat: Run as administrator and follow on-screen prompts.
  • For set_ttl.ps1: Open PowerShell with admin rights, navigate to the script's folder, run with .\set_ttl.ps1, and follow on-screen prompts.

Description: Automate file organization by categorizing files based on type and age.

How It Works: Choose between a .bat or .ps1 file to categorize files and move older files to an archive folder.

How to Use:

  • For .bat: Run as administrator.
  • For .ps1: Run in PowerShell with admin privileges.

These scripts provide straightforward solutions to customize your Windows system settings.

Support

You can support me by buy me a coffee if u like to.

windows-script-collection's People

Contributors

1999azzar avatar

Stargazers

 avatar

Watchers

 avatar

Forkers

darkyxz

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.