vex
13 years agoContributor
Testcomplete and powershell commands
I have a need to write a vbscript (or powershell script) that will read the details of the digital signing certificate of a file - not only if it's valid or not, but like to sure that it's signed, ensure there is a signing timestamp, etc.
Is there a way to do this in vbscript or through test complete? I can do it in powershell, but I'm unfamiliar on how to have powershell integrated into TC.
For ref, a powershell script example to do part of what i'm talking about is like...
Is there a way to do this in vbscript or through test complete? I can do it in powershell, but I'm unfamiliar on how to have powershell integrated into TC.
For ref, a powershell script example to do part of what i'm talking about is like...
dir <filename> | Get-AuthenticodeSignature | % {if($_.TimeStamperCertificate -eq $null){write-warning "Warning: This file has no time stamp!!!"};$_}