Error Renewing Exchange Certificate

Trying to create a new Exchange Certificate.  When running the following cmdlet: "Get-ExchangeCertificate -thumbprint 12 34 56.... | New-ExchangeCertificate,"
I receive the following error:
The term 'Get-ExchangeCertificate' is not recognized as the name of a cmdlet, function, script file, or operable progra
m. Check the spelling of the name, or if a path was included, verify that the path is correct and try again.
At line:1 char:24
+ Get-ExchangeCertificate <<<<  -thumbprint [thumb print] | New-ExchangeC
ertificate
    + CategoryInfo          : ObjectNotFound: (Get-ExchangeCertificate:String) [], CommandNotFoundException
    + FullyQualifiedErrorId : CommandNotFoundException

I'm running the cmdlet from Windows PowerShell as Administrator.
randallh24704Asked:
Who is Participating?

Improve company productivity with a Business Account.Sign Up

x
 
GovvyConnect With a Mentor Commented:
Open Exchange Management Shell instead
0
 
GKaloskyCommented:
Run from the Exchange PowerShell, not the Windows PowerShell.
0
 
randallh24704Author Commented:
Great...that worked.  Now, I have another obstacle, getting Exchange to use the certificate?  I've used the enable cmdlet with the new certificate thumbprint.  But, Exchange seems to want to keep using the old one, even though I've removed it from the server certificates (using IIS).
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.