Using Get-Certificate with a Microsoft CA

ComputerHabit 1,036 Reputation points
2024-05-01T18:01:44.4466667+00:00

I would like to use Get-Certificate with a Microsoft CA.
https://learn.microsoft.com/en-us/powershell/module/pki/get-certificate?view=windowsserver2022-ps

The documentation doesn't really show many examples.

Does anyone know how to do this?

Windows for business | Windows Server | User experience | PowerShell
Windows for business | Windows Server | User experience | Other
0 comments No comments
{count} votes

3 answers

Sort by: Most helpful
  1. Marcin Policht 51,055 Reputation points MVP Volunteer Moderator
    2024-05-01T18:38:18.4333333+00:00

    Refer to https://devblogs.microsoft.com/scripting/powertip-use-powershell-to-get-ssl-certificate/


    If the above response helps answer your question, remember to "Accept Answer" so that others in the community facing similar issues can easily find the solution. Your contribution is highly appreciated.

    hth

    Marcin

    0 comments No comments

  2. Jing Zhou 7,770 Reputation points Microsoft External Staff
    2024-05-06T03:32:23.2066667+00:00

    Hello,

     

    Thank you for posting in Q&A forum.

    Actually there's no certain way to get all Microsoft CA directly.

    However, when you using Get-Certificate command please kindly gather your Microsoft CA related URL and put it in parameter "Url = 'http://your-ca-server/Policy/service.svc'.

    Hope this answer can help you well.

     

    Best regards,

    Jill Zhou

     


  3. ComputerHabit 1,036 Reputation points
    2024-05-07T11:56:15.85+00:00

    Nothing posted is even close to an answer. :)

    If anyone has "Experience" with the command connecting to a Microsoft CA please post.

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.