Can someone help me?
I get this error in powershell \ successrate.ps1: The term ‘. \ successrate.ps1’ is not recognized as a cmdlet name, function, script file or
operable program.
Can someone help me?
I get this error in powershell \ successrate.ps1: The term ‘. \ successrate.ps1’ is not recognized as a cmdlet name, function, script file or
operable program.
You should run it from the folder, where you download it.
For example, if it was a Downloads
, then you should open a PowerShell, then navigate to the Downloads folder, i.e.
cd ~\Downloads
.\successrate.ps1
If you use a Windows GUI, then you also need to specify a path to the log file, i.e.
cd ~\Downloads
.\successrate.ps1 -Path "$env:ProgramFiles\Storj\Storage Node\storagenode.log"
A post was merged into an existing topic: System clock is out of sync: system clock is out of sync with all trusted satellites
A post was split to a new topic: My node is 20 days old, is it normal to have little traffic?
how to use the script on another node on the same computer? the folder name of the new node is storj1
I m tested with \Storj1\ but it doesn’t work
cd ~\Downloads
.\successrate.ps1 -Path “$env:ProgramFiles\Storj1\Storage Node\storagenode.log”
Program Files have space between words
did not work…
Not in this notation. This is the same as %ProgramFiles%
in the cmd.exe or explorer.
Could you elaborate? What is the error?
using= cd ~\Downloads .\successrate.ps1 -Path “$env:ProgramFiles\Storj1\Storage Node\storagenode.log”
error
Without line: 1 character: 41
Invalid variable reference. ‘:’ was not followed by a valid variable name character. Consider using $ {}
to delimit the name.
+ CategoryInfo: ParserError: ( , ParentContainsErrorRecordException
+ FullyQualifiedErrorId: InvalidVariableReferenceWithDrive
Why there are spaces?
It should be literally
cd ~\Downloads;
.\successrate.ps1 -Path "$env:ProgramFiles\Storj1\Storage Node\storagenode.log";
Please, click the Copy button here ^^^ and paste the command to the PowerShell window.