I’m trying to get the thumbprint using powershell.
The following works
& 'C:\Program Files\Octopus Deploy\Tentacle\Tentacle.exe' show-thumbprint --nologo
The thumbprint of this Tentacle is: xxxxxxxx7B5CB0E471DE986FA7B59249xxxxxxxx
I want to just get the numbers, and strip off the text ‘The thumbprint of this Tentacle is:’
Are there any other options like --nologo that would give me just the numbers of the tentacle so I don’t have to strip off the leading text with powershell?
$foo = & 'C:\Program Files\Octopus Deploy\Tentacle\Tentacle.exe' show-thumbprint --nologo
$foo -replace 'The thumbprint of this Tentacle is: ',''