Something went wrong. Try again.
A simple, small calculator placed discreetly near the Windows Taskbar or anywhere on the screen taskbar-calculator.marcomaroni.it
Something went wrong. Try again.
913 B · 12 lines
at main
12345678910111213# Creates a self-signed cert whose subject matches the manifest Publisher.$subject = "CN=TaskbarCalculatorDev"$cert = New-SelfSignedCertificate -Type Custom -Subject $subject ` -KeyUsage DigitalSignature -FriendlyName "TaskbarCalculator Dev" ` -CertStoreLocation "Cert:\CurrentUser\My" ` -TextExtension @("2.5.29.37={text}1.3.6.1.5.5.7.3.3", "2.5.29.19={text}")$pwd = ConvertTo-SecureString -String "TaskbarCalc!" -Force -AsPlainTextExport-PfxCertificate -Cert "Cert:\CurrentUser\My\$($cert.Thumbprint)" ` -FilePath "$PSScriptRoot\TaskbarCalculator.pfx" -Password $pwd | Out-NullWrite-Host "PFX written to $PSScriptRoot\TaskbarCalculator.pfx"Write-Host "To trust it, run (elevated):"Write-Host " Import-PfxCertificate -FilePath '$PSScriptRoot\TaskbarCalculator.pfx' -CertStoreLocation Cert:\LocalMachine\TrustedPeople -Password (ConvertTo-SecureString 'TaskbarCalc!' -Force -AsPlainText)"