Author

Topic: PowerShell and Bitcoin Core (Read 543 times)

sr. member
Activity: 434
Merit: 270
January 31, 2018, 07:17:31 AM
#8
sorry for stupid question, but what does it do ?

i am new to powershell.

Thanks
newbie
Activity: 1
Merit: 0
January 30, 2018, 09:52:00 PM
#7
holy cow!!! you should working for MSFT - Great work!
member
Activity: 98
Merit: 11
January 29, 2018, 06:21:08 PM
#6
member
Activity: 98
Merit: 11
January 29, 2018, 06:14:11 PM
#5
PowerShell
https://github.com/clymb3r/PowerShell
https://github.com/SublimeText/PowerShell
https://github.com/RamblingCookieMonster/PowerShell
https://github.com/lazywinadmin/PowerShell
https://github.com/Azure/azure-powershell
https://github.com/Jackbennett/powershell
https://github.com/obscuresec/PowerShell
https://github.com/PyroTek3/PowerShell-AD-Recon
https://github.com/mattifestation/PowerShellArsenal
https://github.com/PowerShellMafia/PowerSploit
https://github.com/dahlbyk/posh-git
https://github.com/dfinke/powershell-for-developers
https://github.com/alexinslc/powershell
https://github.com/nullbind/Powershellery
https://github.com/PlagueHO/Powershell
https://github.com/dfinke/powershell
https://github.com/hsmalley/Powershell
https://github.com/stefanstranger/PowerShell
https://github.com/uxone/powershell
https://github.com/varonis/powershell
https://github.com/lgulliver/Powershell
https://github.com/vMotioned/PowerShell
https://github.com/zloeber/Powershell
https://github.com/OfficeDev/PnP-PowerShell
https://github.com/bpatra/powershell
https://github.com/pester/Pester
https://github.com/kmarquette/Powershell
https://github.com/PowerShell/PowerShell-Docs
https://github.com/BenjaminArmstrong/Hyper-V-PowerShell
https://github.com/splunk/splunk-reskit-powershell
https://github.com/MrPowerScripts/PowerScripts
https://github.com/petrsnd/Powershell
https://github.com/subTee/PoshRat
https://github.com/davehull/Kansa
https://github.com/CosmosKey/PSIS
https://github.com/besimorhino/powercat
https://github.com/janikvonrotz/PowerShell-PowerUp
https://github.com/SitecorePowerShell/Console
https://github.com/guitarrapc/PowerShellUtil
https://github.com/andrebocchini/sccm-powershell-automation-module
https://github.com/jenkinsci/powershell-plugin
https://github.com/cdhunt/WindowsAudioDevice-Powershell-Cmdlet
https://github.com/abswaxing/PowerShell
https://github.com/dotCipher/CoinBot
https://github.com/PProvost/vim-ps1
member
Activity: 98
Merit: 11
January 29, 2018, 06:00:50 PM
#3
newbie
Activity: 1
Merit: 0
December 17, 2017, 10:34:31 PM
#2
Thanks, I was trying to learn learn it udemy but it's very hard to grasp.
vh
hero member
Activity: 699
Merit: 666
June 19, 2017, 09:45:00 PM
#1
Just sharing a few PowerShell commands that I recently worked out which may come in handy when working with your wallet in windows.

This requires PowerShell 5.0 for access to ConvertFrom-Json.

Code:
set-alias bitcoin-cli "C:\Program Files\Bitcoin\daemon\bitcoin-cli.exe"

#dump balance
bitcoin-cli listaddressgroupings | convertfrom-json | % { foreach ($group in $_) { foreach ($addr in $group) { write-host "$($addr[1])`t$($addr[0])`t($($addr[2]))" } } }

#dump keys*
bitcoin-cli listaddressgroupings | convertfrom-json | % { foreach ($group in $_) { foreach ($addr in $group) { $privkey = bitcoin-cli dumpprivkey $addr[0]; write-host "$($addr[0])`t$($privkey)`t($($addr[2]))" } } }


*as needed
Code:
#unlock for 60 seconds
bitcoin-cli walletpassphrase "my pass phrase" 60

Jump to: