title: SignTool.exe equivalent in PowerShell
body: <p>I'm working on a Powershell script to replicate what <code>signtool.exe</code> does. I'm using it on an Installer exe.</p>
  <p>I found that <code>Set-AuthenticodeSignature</code> handles the signing of the file with a certificate, but I'm also looking for the <code>signtool</code> feature that signs an ActiveX control on the file.</p>
  <pre><code>SignTool sign /f MyCert.pfx /t timestampURL /du &quot;webpageURL&quot; /d &quot;mycompany&quot; MyInstaller.exe
  </code></pre>
  <p><code>Set-AuthenticodeSignature</code> is able to handle the <code>/f</code> and <code>/t</code> parameters with <code>-Certificate</code> and <code>-TimestampServer</code> respectively.</p>
  <p>So my question is, is there a cmdlet that handles the <code>/d</code> and <code>/du</code>?</p>
  <p>Referencing the SignTool page:</p>
  <blockquote>
  <p>The following command signs an ActiveX control and provides information that is displayed by Internet Explorer when the user is prompted to install the control:</p>
  <pre><code>SignTool sign /f MyCert.pfx /d &quot;My Product Name&quot; /du &quot;http://www.example.com/my_product/info.html&quot; MyControl.exe
  </code></pre>
  </blockquote>