Skip to content

Instantly share code, notes, and snippets.

View Sadhill94's full-sized avatar

Sadhill Sadhill94

View GitHub Profile
@Sadhill94
Sadhill94 / close-lnd-process-and-clean-logs-stakenet-dex.ps1
Last active December 7, 2021 21:01
A script for lazy people. Close the dex(if open), kill all your lnd process active, delete your lnd log files and clean your debug.log
#Requires -RunAsAdministrator
### Script used for:
### Kill all lnd process.exe that are listed below. It will also close the dex if it's still running
### Delete all lnd.log files in your assets folder
### Clean debug.log file
### How to run
### 1.Script must be run in Admin mode
### 2. If you get an 'execution of scripts is disabled on this system' error, please run once the command below to activate unsigned scripts