GithubHelp home page GithubHelp logo

rezapace / scrip-close-all-program Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 2 KB

ketika file ini di click maka akan mengclose semua program yang berjalan di windows termasuk explore sendiri program ini di jalankan menggunakan printah pada power shell

Home Page: https://www.webkumal.link/

PowerShell 100.00%
close git-reza kuliah-malam kumal kumal-projek poweshell script webkumal

scrip-close-all-program's Introduction

SCRIP-CLOSE-ALL-PROGRAM

Program di atas menggunakan PowerShell untuk mengambil daftar semua proses yang sedang berjalan di komputer dan memeriksa apakah mereka memiliki judul jendela (mainwindowtitle) dan bukan PowerShell itu sendiri. Jika mereka memenuhi syarat, maka perintah stop-process akan digunakan untuk menutup program tersebut.

Dalam hal ini, perintah yang ditambahkan adalah { $_.processname -ne "powershell" }, yang menghindari penghentian PowerShell itu sendiri.

Penjelasan program ini dapat ditambahkan dalam format README.md seperti di bawah ini:

Penjelasan Sederhana Program 'SCRIP-CLOSE-ALL-PROGRAM'

Program ini menggunakan PowerShell untuk mengambil daftar semua proses yang sedang berjalan di komputer dan memeriksa apakah mereka memiliki judul jendela dan bukan PowerShell itu sendiri. Jika mereka memenuhi syarat, maka perintah stop-process akan digunakan untuk menutup program tersebut.

Cara Menggunakan

  • Silakan unduh file script-close-all-program.ps1.
  • Double-click file tersebut untuk menjalankannya.
  • Setelah dijalankan, program akan menutup semua program yang sedang berjalan di komputer, kecuali PowerShell.

Perhatian

  • Pastikan untuk menyimpan pekerjaan Anda dan menutup program yang ingin Anda simpan sebelum menjalankan script ini.
  • Anda akan kehilangan semua data tidak disimpan atau disimpan dengan benar jika program ditutup oleh script ini.
(get-process | ? { $_.mainwindowtitle -ne "" -and $_.processname -ne "powershell" } )| stop-process
jelaskan program di atas

scrip-close-all-program's People

Contributors

rezapace avatar

Watchers

 avatar

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.