< Back

Set-Sig

Sat Jan 18, 2020 9:45 pm

NAME Set-Sig



SYNOPSIS

Calls Microsoft's signtool.exe code signing utility repeatedly until it succeeded, cycling through a list

of timestamper URLs for each attempt.





SYNTAX

Set-Sig [-File] <String> [-ConfigName] <String> [[-Attempts] <Int32>] [<CommonParameters>]





DESCRIPTION

Most often, timespamping succeeds, but at times code siging fails in builds because the call for timestamping fails

and the failure is not on the part of the caller, but the timestamper. Fow whatever reason, it may be busy or other

error occurs.



Set-Sig will attemplt, upto the number specified by Attempts, to sign a particular file, cycling through a list of

timespamping URLs each signing attempt.





PARAMETERS

-File <String>

File to sign. Can be a full or relative path.



Required? true

Position? 1

Default value

Accept pipeline input? false

Accept wildcard characters? false



-ConfigName <String>

Name of saved configuration, see Add-Config, that contains a list of timestamp URLs and certificate hash.



Required? true

Position? 2

Default value

Accept pipeline input? false

Accept wildcard characters? false



-Attempts <Int32>

Max number of attempts that will be made.



Required? false

Position? 3

Default value 300

Accept pipeline input? false

Accept wildcard characters? false



<CommonParameters>

This cmdlet supports the common parameters: Verbose, Debug,

ErrorAction, ErrorVariable, WarningAction, WarningVariable,

OutBuffer, PipelineVariable, and OutVariable. For more information, see

about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216).



INPUTS



OUTPUTS





RELATED LINKS