Skip Ribbon Commands
Skip to main content

Ondrej Sevecek's English Pages

:

Comments: Re: How to archive a certificate with PowerShell

Engineering and troubleshooting by Directory Master!
MCM: Directory

Sorry comments are disable due to the constant load of spam

2

Title

Re: How to archive a certificate with PowerShell

Author

ondass

Body

how to un-archive some or all archived certificates from the local machine certificate store:

$personalStore = Get-Item cert:\LocalMachine\My
$personalStore.Open('ReadWrite,IncludeArchived')
$personalStore.Certificates | Select Thumbprint, Subject, Archived

$personalStore.Certificates[1].Archived = $false

Attachments

Created at 13/01/2017 10:25 by  
Last modified at 13/01/2017 10:25 by