Remove-AzureADTrustedCertificateAuthority

拿掉受信任的證書頒發機構單位。

語法

Remove-AzureADTrustedCertificateAuthority
      -CertificateAuthorityInformation <CertificateAuthorityInformation>
      [-InformationAction <ActionPreference>]
      [-InformationVariable <String>]
      [<CommonParameters>]

Description

Remove-AzureADTrustedCertificateAuthority Cmdlet 會從 Azure Active Directory (AD) 移除受信任的證書頒發機構單位。

範例

範例 1:移除目錄中定義的受信任證書頒發機構單位

PS C:\> $cer = Get-AzureADTrustedCertificateAuthority #Get the CertificateAuthorityInformation object
		PS C:\> Remove-AzureADTrustedCertificateAuthority -CertificateAuthorityInformation $cer[0]

此命令會刪除目錄中定義的受信任證書頒發機構單位。

參數

-CertificateAuthorityInformation

@{Text=}

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

-InformationAction

指定此 Cmdlet 如何回應資訊事件。 此參數可接受的值為:

  • 繼續
  • 忽略
  • 詢問
  • SilentlyContinue
  • Stop
  • 暫止
類型:ActionPreference
別名:infa
Position:Named
預設值:None
必要:False
接受管線輸入:False
接受萬用字元:False

-InformationVariable

指定資訊變數。

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