PowerShell を使用してテンプレートを作成したいのですが、テンプレートに を設定する方法がわかりませんMinimum Supported CA
。テンプレートを複製する方法がわかりませんでした。新しいテンプレートを作成するだけです。
私のコードは次のとおりです
$temp = ([ADSI]"LDAP://RootDSE".ConfigurationNamingContext
$ADSI = [ADSI]"LDAP://CN=Certificate Templates,CN=Public Key Services, CN=Services,$config"
$temp = $ADSI.Create("pKICertificateTemplate","CN=Web Server 2008-2")
$temp.put("distinguishedName","CN=Web Server 2008-2,CM=Certificate Template,CN=Public Key Services,CN=Services.$Config)
$temp.SetInfo()
これは実際のテンプレートを作成するために機能しますが、テンプレートWindows Server 2008 Enterprise
をMinimum Supported CAs