{"id":13342502,"url":"https://github.com/suchsoak/Powershell_script","last_synced_at":"2025-03-12T01:37:27.104Z","repository":{"id":202646039,"uuid":"706375546","full_name":"suchsoak/Powershell_script","owner":"suchsoak","description":"PowerShell Script is where you have a lot of PowerShell script, to make your life easier","archived":false,"fork":false,"pushed_at":"2025-01-07T10:50:07.000Z","size":283,"stargazers_count":4,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-01-07T11:40:23.145Z","etag":null,"topics":["brave-powershell","chrome-powershell","firefox-install","firewall-powershell","firewall-rules","install-brower","install-language","install-programming-language","install-python","powershell","powershell-documentation","powershell-script","ps1","ps1-script","script","script-browser-powershell","script-powershell","windows-scripts","wsl"],"latest_commit_sha":null,"homepage":"","language":"PowerShell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"cc0-1.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/suchsoak.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null},"funding":{"custom":["https://www.buymeacoffee.com/m100047r"]}},"created_at":"2023-10-17T20:29:47.000Z","updated_at":"2025-01-07T10:50:11.000Z","dependencies_parsed_at":null,"dependency_job_id":"8cc89076-8487-4ea0-b44c-2a5e01333fd6","html_url":"https://github.com/suchsoak/Powershell_script","commit_stats":null,"previous_names":["suchsoak/powershell_script"],"tags_count":6,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/suchsoak%2FPowershell_script","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/suchsoak%2FPowershell_script/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/suchsoak%2FPowershell_script/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/suchsoak%2FPowershell_script/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/suchsoak","download_url":"https://codeload.github.com/suchsoak/Powershell_script/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243141285,"owners_count":20242815,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["brave-powershell","chrome-powershell","firefox-install","firewall-powershell","firewall-rules","install-brower","install-language","install-programming-language","install-python","powershell","powershell-documentation","powershell-script","ps1","ps1-script","script","script-browser-powershell","script-powershell","windows-scripts","wsl"],"created_at":"2024-07-29T19:29:30.276Z","updated_at":"2025-03-12T01:37:27.082Z","avatar_url":"https://github.com/suchsoak.png","language":"PowerShell","readme":"# Powershell_script\n\nPowerShell Script is where you have a lot of PowerShell script, to make your life easier.\n\n\u003e[!NOTE]\n\u003eI have to thank the fleschutz for his scrips. He inspired me to do this project. So thank you.\n\u003e https://github.com/fleschutz/PowerShell/tree/master\n\n\n# Scripts\n\nAt the moment we have `17` scripts each with a function, as time goes by I will be adding more scripts. \n\nThe documentation:\n\n| Doc |  Links |\n| ------ | ------ |\n|  Scripts | https://github.com/suchsoak/Powershell_script/tree/main/Doc    \n\nIf you want to know more about the scripts, inside the `powershell` folder will contain the script file and also the other scripts separately\n\n| Scripts |  Links |\n| ------ | ------ |\n|  Scripts | https://github.com/suchsoak/Powershell_script/tree/main/powershell    \n\n\u003cdetails\u003e\n \n\u003csummary\u003eWSL\u003c/summary\u003e\n\n# WSL\n\nThis script will install wsl 2 on windows plus ubuntu, debian and etc...\n\n```sh\n         ___            _          _  _ \n        |_ _| _ _   ___| |_  __ _ | || |\n         | | | ' \\ (_-/|  _|/ _` || || |\n        |___||_||_|/__/ \\__|\\__/_||_||_|\n       \n    [*] 1. Ubuntu                [*] 2. Debian\n    [*] 3. Kali Linux            [*] 4. Arch Linux\n    [*] 5. Opensuse              [*] 6. Oracle \n    [*] 7. Everything            [*] 8. No install\n```\n\nThe documentation:\n\n| Doc |  Links |\n| ------ | ------ |\n|  WSL | https://github.com/suchsoak/Powershell_script/blob/main/Doc/wsl.md  \n\n\u003c/details\u003e\n\n\u003cdetails\u003e\n \n\u003csummary\u003eFirewall\u003c/summary\u003e\n\n# Firewall\n\nThe firewall will place rules in your windows firewall\n\n```sh\n ___  ___                           _  _ \n| __||_ _| _ _  ___  _ __ __  __ _ | || |\n| _|  | | | '_|/ -_) \\ V  V // _` || || |\n|_|  |___||_|  \\___|  \\_/\\_/ \\__/_||_||_|\n\n    Github: https://github.com/schsoak\n    BY: ~#M?x\n```\n\nThe documentation:\n\n| Doc |  Links |\n| ------ | ------ |\n|  FIrewall | https://github.com/suchsoak/Powershell_script/blob/main/Doc/Firewall.md \n\n\u003c/details\u003e\n\n\u003cdetails\u003e\n \n\u003csummary\u003eBrowser\u003c/summary\u003e\n\n# Browser\n\n```sh\n___                                  \n| _ ) _ _  ___  _ __ __  ___ ___  _ _ \n| _ \\| '_|/ _ \\ \\ V  V /(_-// -_)| '_|\n|___/|_|  \\___/  \\_/\\_/ /__/\\___||_|  \nGithub: https://github.com/schsoak\nBY: ~#M?x\n```\n\nThis script will install browsers like firefox, brave and chrome on your windows\n\n```sh\n    ___            _          _  _ \n   |_ _| _ _   ___| |_  __ _ | || |\n    | | | ' \\ (_-/|  _|/ _` || || |\n   |___||_||_|/__/ \\__|\\__/_||_||_|  \n\n    [*] 1. Brave   [*] 2. Firefox   [*] 5. All\n    [*] 3. Chrome  [*] 4. Opera GX\n\n```\nThe documentation:\n\n| Doc |  Links |\n| ------ | ------ |\n|  Browser | https://github.com/suchsoak/Powershell_script/blob/main/Doc/Browser.md \n\n\u003c/details\u003e\n\n\u003cdetails\u003e\n \n\u003csummary\u003eDrive Reset\u003c/summary\u003e\n\n# Drive Reset\n\n```sh\n ___        _                      ___                _   \n|   \\  _ _ (_)__ __ ___  ___      | _ \\ ___  ___ ___ | |_ \n| |) || '_|| |\\ V // -_)(_-/      |   // -_)(_-// -_)|  _|\n|___/ |_|  |_| \\_/ \\___|/__/      |_|_\\\\___|/__/\\___| \\__|\nGithub: https://github.com/schsoak\nBY: ~#M?x\n\n```\n\nThe drive reset will reset the computer's drives and also do a scan with the dism\n\nThe documentation:\n\n| Doc |  Links |\n| ------ | ------ |\n|  Drive Reset | https://github.com/suchsoak/Powershell_script/blob/main/Doc/drivereset.md\n\n\u003c/details\u003e\n\n\n\u003cdetails\u003e\n \n\u003csummary\u003eNetreset\u003c/summary\u003e\n\n# Netreset\n\n```sh\n _  _       _                       _   \n| \\| | ___ | |_  _ _  ___  ___ ___ | |_ \n| .  |/ -_)|  _|| '_|/ -_)(_-// -_)|  _|\n|_|\\_|\\___| \\__||_|  \\___|/__/\\___| \\__|\n\nGithub: https://github.com/schsoak\nBY: ~#M?x   \n\n```\n\nThe script will reset TCP ports and other system network settings\n\nThe Documentation\n\n| Doc |  Links |\n| ------ | ------ |\n|  Netreset |   https://github.com/suchsoak/Powershell_script/blob/main/Doc/netreset.md\n\n\n\u003c/details\u003e\n\n\u003cdetails\u003e\n \n\u003csummary\u003eDsik Verification\u003c/summary\u003e\n\n# Disk Verification\n\nDisk verification will scan for corrupted files such as the **sfc /scannow** command\n\n```sh\n___   _      _                         _   __  _            _    _            \n|   \\ (_) ___| |__      __ __ ___  _ _ (_) / _|(_) __  __ _ | |_ (_) ___  _ _  \n| |) || |(_-/| / /      \\ V // -_)| '_|| ||  _|| |/ _|/ _` ||  _|| |/ _ \\| ' \\ \n|___/ |_|/__/|_\\_\\       \\_/ \\___||_|  |_||_|  |_|\\__|\\__/_| \\__||_|\\___/|_||_|\nGithub: https://github.com/schsoak\nBY: ~#M?x   \n\n```\n\nThe Documentation\n\n| Doc |  Links |\n| ------ | ------ |\n|  Disk Verification | https://github.com/suchsoak/Powershell_script/blob/main/Doc/disk%20verification.md   \n\n\n\u003c/details\u003e\n\n\u003cdetails\u003e\n \n\u003csummary\u003eTelssh\u003c/summary\u003e\n\n# Telssh\n\n```sh\n   |          |              |     \n    __|   _ \\  |   __|   __|  __ \\  \n    |     __/  | \\__ \\ \\__ \\  | | | \n   \\__| \\___| _| ____/ ____/ _| |_|                                        \n    Github: https://github.com/schsoak\n    BY: ~#M?x     \n```\n\nThe script verifies that OpenSSH and Telnet are installed on the Windows system and performs the installation if necessary.\n\nThe Documentation\n\n| Doc |  Links |\n| ------ | ------ |\n|  Telssh | https://github.com/suchsoak/Powershell_script/blob/main/Doc/Telssh.md\n\n\u003c/details\u003e\n\n\u003cdetails\u003e\n \n\u003csummary\u003eProgramming Language\u003c/summary\u003e\n\n```sh\n\n         _              __ _              __ _      \n        | | __ _  _ _  / _` | _  _  __ _ / _` | ___ \n        | |/ _` || ' \\ \\__. || || |/ _` |\\__. |/ -_)\n        |_|\\__/_||_||_||___/  \\_._|\\__/_||___/ \\___|\n        Github: https://github.com/schsoak\n        Buy ME A Coffe: \n        BY: ~#M?x  \n\n        [1] Python    [5] Swift\n        [2] Ruby      [6] GO\n        [3] GCC (C)   [7] Kotlin\n        [4] Nodejs    [8] ALL\n\n```\n\nThis scrips will install the programming languages of your choice such as python, ruby and etc..\n\n\nThe Documentation\n\n| Doc |  Links |\n| ------ | ------ |\n| language | https://github.com/suchsoak/Powershell_script/blob/main/Doc/language.md\n\n\u003c/details\u003e\n\n\u003cdetails\u003e\n \n\u003csummary\u003eIDE\u003c/summary\u003e\n\n```sh\n\n    ___  ___   ___ \n    |_ _||   \\ | __|\n     | | | |) || _| \n    |___||___/ |___|\n    Buy ME A Coffe: https://www.buymeacoffee.com/m100047r\n    Github: https://github.com/schsoak\n    BY: ~#M?x\n\n    [1] Visual Code Studio          [4] Atom                 [7] Notepadd++\n    [2] PyCharm Community Edition   [5] Android Studio       [8] Rubymine\n    [3] Sublime Text                [6] Arduino IDE          [9] ALL\n\n```\nThis script will install the ide of your choice or all ides\n\n| Doc |  Links |\n| ------ | ------ |\n| IDE | https://github.com/suchsoak/Powershell_script/blob/main/Doc/ide.md\n\n\u003c/details\u003e\n\n\n\u003cdetails\u003e\n \n\u003csummary\u003eSysteminfo\u003c/summary\u003e\n\n```sh\no=====ooooooo=ooooooooooo==\n===========+===============\n=====....................+o\n===o: :=:..+===========. +o\n====..=o+.  ~+oo====oo+ ~==\n===: ~oo==+.  ~+====oo~ +o=\n===. =oo=o=+.  .====o+ .===\n=o+ ~oo=+:.  .:=oo===: :===\noo. +=:.  .:~~:~~+oo=..====\no+ .=+..~+==.....:==: :o===\no+....................=o===\noo=============+====+=o====\no==o=ooooooo====oooo=======\n       \nGithub:github.com/suchsoak\nBY: suchsok\n```\nThis script gives information about the system, such as video card, processor, wifi and so on.\n\n| Doc |  Links |\n| ------ | ------ |\n| Systeminfo | https://github.com/suchsoak/Powershell_script/blob/main/Doc/systeminfo.md\n\n\u003c/details\u003e\n\n\u003cdetails\u003e\n \n\u003csummary\u003eFileinfo\u003c/summary\u003e\n\n```sh\n+------------------------------+\n|=========+~........~+=========|\n|=======+..~:++==++:~..+=======|\n|======~ ~+==========+~ ~======|\n|=====+ ~==============~ +=====|\n|=====~ :o=============: ~o====|\n|====+. ~++++++++++++++~ .+====|\n|==+..~~~~~~~~~~~~~~~~~~~~..+==|\n|==+ ~====================~ +==|\n|==+ ~=======+~.~~+=======~ +==|\n|==+ ~======: .++. +======~ +==|\n|==+ ~======+..:~..+======~ +==|\n|==+ ~========+  :========~ +==|\n|==+ .=========~~=========~ +==|\n|===~ ~+=======++======++~ ~===|\n|====:~..................~+====|\n+------------------------------+\nGithub:github.com/suchsoak\nBY: suchsok\n```\n\nThis script returns information about a particular file\n\n| Doc |  Links |\n| ------ | ------ |\n| Fileinfo | https://github.com/suchsoak/Powershell_script/blob/main/Doc/fileinfo.md\n\n\u003c/details\u003e\n\n\u003cdetails\u003e\n \n\u003csummary\u003erestorepoint\u003c/summary\u003e\n\n```sh\n    ___           _                   ___       _        _   \n    | _ \\ ___  ___| |_  ___  _ _  ___ | _ \\ ___ (_) _ _  | |_ \n    |   // -_)(_-/|  _|/ _ \\| '_|/ -_)|  _// _ \\| || ' \\ |  _|\n    |_|_\\\\___|/__/ \\__|\\___/|_|  \\___||_|  \\___/|_||_||_| \\__|\n    Github:github.com/suchsoak\n    BY: suchsok\n\n```\nThis script will make a restore point on the system\n\n| Doc |  Links |\n| ------ | ------ |\n| Restorepoint | https://github.com/suchsoak/Powershell_script/blob/main/Doc/restorepoint.md\n\n\u003c/details\u003e\n\n\u003cdetails\u003e\n \n\u003csummary\u003eWindows Update \u003c/summary\u003e\n\n```sh\n        |oooooooooooooooooooooooooooo:o|\n        |oooooooooooooo:o::::::~~~~~~~:|\n        |o~:~~~~ ~   ~o~~ ~~~~~~~~~~~~o|\n        |:           :o~~~~~~~~~~~~~ ~:|\n        |:           :o~~~~~~~~~~~~~~~:|\n        |:           :o~~~~ ~ ~~~~~ ~~o|\n        |:           :o~~~~~~~~~~~~~~~o|\n        |o::::~::::::oo::o::o:oo:::oo:o|\n        |o ~ ~ ~     oo~:::::::::::::~o|\n        |:           :o~:~:~::~:~:~:~~o|\n        |: ~   ~ ~   :o::~:~:::::~::::o|\n        |o         ~ :o:~::::~:~:::~:~o|\n        |o:~~~~~~  ~ :o::~~:~::~:~:~::o|\n        |oooooooooooooo:ooo:o::::::~:~o|\n        |oooooooooooooooooooooooooooooo|\n```\n\nThis script will update the Windows update if you have problem. This script will attempt to fix this.\n\n| Doc |  Links |\n| ------ | ------ |\n| Windows Update | https://github.com/suchsoak/Powershell_script/blob/main/Doc/update.md\n\n\n\u003c/details\u003e\n\n\u003cdetails\u003e\n \n\u003csummary\u003eeventlog\u003c/summary\u003e\n\n```sh\n ___                   _    _          __ _ \n| __|__ __ ___  _ _  | |_ | |    ___ / _` |\n| _| \\ V // -_)| ' \\ |  _|| |__ / _ \\\\__. |\n|___| \\_/ \\___||_||_| \\__||____|\\___/|___/ \nGithub:github.com/suchsoak\nBY: suchsok\n\n[1] 10    [5] 50    [9]  90\n[2] 20    [6] 60    [10] 100\n[3] 30    [7] 70    [11] 1000\n[4] 40    [8] 80    [12] 10000\n\n```\n\nThe provided script is a PowerShell script that displays a log and allows the user to choose the number of recent events they want to retrieve from the System event log. \n\n| Doc |  Links |\n| ------ | ------ |\n| Eventlog | https://github.com/suchsoak/Powershell_script/blob/main/Doc/eventlog.md\n\n\u003c/details\u003e\n\n\u003cdetails\u003e\n\n\u003csummary\u003eMpscan\u003c/summary\u003e\n\n```sh\n    __  __  _ __  ___                 \n    |  \\/  || '_ \\/ __| __  __ _  _ _  \n    | |\\/| || .__/\\__ \\/ _|/ _` || ' \\ \n    |_|  |_||_|   |___/\\__|\\__/_||_||_|\n    Github:github.com/suchsoak\n    BY: suchsok\n```\n\nThe script in question is written in PowerShell and aims to perform checks and executions related to computer security using Windows Defender.\n\n| Doc | Link |\n|-------|------|\n|mpscan| https://github.com/suchsoak/Powershell_script/blob/main/Doc/mpscan.md\n  \n\u003c/details\u003e\n\n\u003cdetails\u003e\n\n\u003csummary\u003ePassword\u003c/summary\u003e\n\n```sh\n _ __                                      _ \n| '_ \\ __ _  ___ ___ _ __ __  ___  _ _  __| |\n| .__// _` |(_-/(_-/ \\ V  V // _ \\| '_|/ _` |\n|_|   \\__/_|/__//__/  \\_/\\_/ \\___/|_|  \\__/_|\nGithub:github.com/suchsoak\nBY: suchsok\n```\n\nThe logic of this script is to prompt the user to enter a password and a file path, and then securely save the password to a file using PowerShell commands.\n\n|scrip| link |\n|-----|------|\n|password| https://github.com/suchsoak/Powershell_script/blob/main/Doc/password.md \n  \n\u003c/details\u003e\n\n\u003cdetails\u003e\n\n\u003csummary\u003eHRCODE\u003c/summary\u003e\n\n```sh\n     _  _  ___   ___   ___   ___   ___ \n    | || || _ \\ / __| / _ \\ |   \\ | __|\n    | __ ||   /| (__ | (_) || |) || _| \n    |_||_||_|_\\ \\___| \\___/ |___/ |___|\n    \n    [1] Curl\n    [2] QRCodeGenerator\n\n    Github:github.com/suchsoak\n    BY: suchsoak\n\n```\n#### The script is to generate an hrcode with a link you place. There are two options, you can use the curl tool or porwshell's QRCodeGenerator. Just remember that you will have to install its module to use it.\n\n|Readme and script| link |\n|-----|------|\n| HRCODE     | https://github.com/suchsoak/Powershell_script/blob/main/Doc/hrcode.md\n| script | https://github.com/suchsoak/Powershell_script/blob/main/powershell/hrcode.ps1\n| QRCodeGenerator | https://techexpert.tips/powershell/powershell-creating-qr-code-url/\n\n\u003c/details\u003e\n\n# Usage\n\n\u003e[!IMPORTANT]\n\u003eDon't forget, from the Get-ExecutionPolicy\n\u003e\n\u003eUnblock-File -Path .\\script.ps1\n\n**You can usage the script.ps1**\n\n```sh\n   .\\script.ps1\n```\n\n\u003e[!TIP]\n\u003eOr you can use the scripts separately\n\u003e\n\n```sh\n  .\\wsl.ps1\n  .\\firewall.ps1\n  .\\browser.ps1\n  .\\drivereset.ps1\n  .\\netreset.ps1\n  .\\disk_verefication.ps1\n  .\\telssh.ps1\n  .\\language.ps1\n  .\\ide.ps1\n  .\\systeminfo.bat\n  .\\restorepoint.ps1\n  .\\fileinfo.ps1\n  .\\eventlog.ps1\n  .\\password.ps1\n  .\\hrcode.ps1\n```\n\n License \u0026 Copyright\n-----------------------\nThis open source project is licensed under the `CC0-1.0 license.` All trademarks are the property of their respective owners.\n","funding_links":["https://www.buymeacoffee.com/m100047r"],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsuchsoak%2FPowershell_script","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsuchsoak%2FPowershell_script","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsuchsoak%2FPowershell_script/lists"}