New-ExchangeCertificate command has changed with Exchange 2010 Beta!
Posted in Exchange Server, Windows Powershell | No Comment | 6,420 views | 04/10/2009 01:06
This is a second shock after ServerManagerCMD for me. I don’t know why they changed it but there is no -Path switch anymore. We have to use Set-Content instead of -Path switch. When I use -Path switch with New-ExchangeCertificate, I get this error:
A positional parameter cannot be found that accepts argument ‘-Path’.
+ CategoryInfo : InvalidArgument: (:) [New-ExchangeCertificate], ParameterBindingException
+ FullyQualifiedErrorId : PositionalParameterNotFound,New-ExchangeCertificate
Generating CSR request in Microsoft Exchange Server 2007 with Powershell:
Generating CSR request in Microsoft Exchange Server 2010 with Powershell:
Using a second command shouldn’t be necessery. I don’t know why they add Set-Content for this action.
Tags: exchange 2010 powershell ssl, generating ssl request exchange 2010, hosted exchange 2010 ssl request powershell, new-exchangecertificate, set-content
Leave a Reply