Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I want to use a Powershell script to install Application Server on a windows 2012 server. When using the wizard, it prompts for you to select a certificate (for WS-Atomic Transactions) from the local machine store (or generate a self-signed one, or assign one later). Can I specify a certificate when running something similar to the following?

Install-WindowsFeature -Name Application-Server -IncludeAllSubFeature -IncludeManagementTools -ComputerName $svrName -Credential $credential

Or is there a powershell script to associate a cert after the fact?

If I'm already binding a SSL certificate to the default web site in IIS for https, do I even need to associate the cert with WS-AT?

Note: I'm generating certs with the Get-Certificate cmdlet, so getting hold of the cert isn't a problem:

$x = Get-Certificate etc...
$cert = $x.Certificate
share|improve this question

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.