success_rate

August 11, 2020 ยท View on GitHub

  1. Download the script and save it in to the convenient place
  2. Run it
.\successrate.ps1

To specify path to the log file, you can use an optional parameter -Path:

.\successrate.ps1 -Path x:\storagenode\node.log

The default path for the Windows GUI storagenode's log is "C:\Program Files\Storj\Storage Node\storagenode.log", so the command will looks like:

.\successrate.ps1 -Path "C:\Program Files\Storj\Storage Node\storagenode.log"

You may need to enable the execution policy

Execute in the elevated Powershell

Set-ExecutionPolicy -ExecutionPolicy RemoteSigned