共用方式為


New-CMRootCertificateProfileConfigurationItem

建立根憑證設定檔。

語法

New-CMRootCertificateProfileConfigurationItem
   -Path <String>
   [-DisableWildcardHandling]
   [-ForceWildcardHandling]
   [-WhatIf]
   [-Confirm]
   [<CommonParameters>]

Description

New-CMRootCertificateProfileConfigurationItem Cmdlet 會建立根憑證設定檔。 用戶端電腦會使用根憑證設定檔,將其憑證鏈結回公開金鑰基礎結構, (PKI) 憑證授權單位單位 (CA) 。

注意事項

從Configuration Manager月臺磁片磁碟機執行 Configuration Manager Cmdlet,例如 PS XYZ:\> 。 如需詳細資訊,請 參閱開始使用

範例

範例 1:建立受信任的根憑證設定檔設定專案

此命令會使用摘要檔案 C:\Digests\TrustedRootCertificate.xml 來建立受信任的根憑證設定檔群組態專案。

New-CMRootCertificateProfileConfigurationItem -Path "C:\Digests\TrustedRootCertificate.xml"

參數

-Confirm

執行 Cmdlet 之前提示您確認。

類型:SwitchParameter
別名:cf
Position:Named
預設值:None
必要:False
接受管線輸入:False
接受萬用字元:False

-DisableWildcardHandling

此參數會將萬用字元視為常值字元值。 您無法將其與 ForceWildcardHandling結合。

類型:SwitchParameter
Position:Named
預設值:None
必要:False
接受管線輸入:False
接受萬用字元:False

-ForceWildcardHandling

此參數會處理萬用字元,並可能導致非預期的行為 (不建議) 。 您無法將其與 DisableWildcardHandling結合。

類型:SwitchParameter
Position:Named
預設值:None
必要:False
接受管線輸入:False
接受萬用字元:False

-Path

指定憑證摘要檔案的路徑。

類型:String
別名:DesiredConfigurationDigestPath
Position:Named
預設值:None
必要:True
接受管線輸入:False
接受萬用字元:False

-WhatIf

顯示執行 Cmdlet 時會發生什麼情況。 Cmdlet 不會執行。

類型:SwitchParameter
別名:wi
Position:Named
預設值:None
必要:False
接受管線輸入:False
接受萬用字元:False

輸入

None

輸出

IResultObject

備註

Cmdlet 別名: New-CMTrustedRootCertificateProfileConfigurationItem