Fred.PowerShell.Certificate.Parameter (nuget): Contains a parameter class for accepting certificate input. PowerShell commands should use it as the expected type and can internally use the input as an X509Certificate2 with private key - resolution of Thumbprint or SubjectName to certificate from the windows stores happens automatically, while also accepting direct certificate objects.
Keywords: powershell|parameter|certificate