NetCmdlets 2016
NetCmdlets 2016
Questions / Feedback?

PublicKeyOnly Parameter (Export-Certificate Cmdlet)

Whether to export public key only.


Export-Certificate -PublicKeyOnly SwitchParameter


By default, when this cmdlet is called, the public, and private key will be written into a PFX file. To override this behavior, and export only the public key, specify this switch. To export the certificate into a different file format, use the CertificateOutputFormat configuration setting.

Default Value


Copyright (c) 2018 /n software inc. - All rights reserved.
NetCmdlets 2016 - Version 16.0 [Build 6801]