What does New-ExchangeCertificate –confirm do?

Posted by in Exchange 2007, Exchange 2010, Troubleshooting

Depends who is asking. Let’s assume a scenario where you are trying to create a new self-signed certificate on Exchange 2007 using a script. You run the command “New-Exchange Certificate – Services “IMAP, POP3, IIS, SMTP” –Confirm:$false”. The script stops at a prompt when it tries to confirm overwrite of existing SMTP certificate (because current self-signed certificate is assigned to that function). Since this is breaking your script, you decide to throw in –force to force override of the prompt. Now you face another error: “Parameter set cannot be resolved…read more