Step 3: Verify if the schema extension was successful - AWS Directory Service
AWS 文档中描述的 AWS 服务或功能可能因区域而异。要查看适用于中国区域的差异,请参阅中国的 AWS 服务入门


Step 3: Verify if the schema extension was successful

完成导入过程后,需要验证架构更新是否已应用到您的目录中,这一点很重要。在迁移或更新依赖架构更新的任何应用程序之前,这一点尤其重要。您可以使用各种不同的 LDAP 工具或通过编写能够发出相应 LDAP 命令的测试工具来进行此验证。

This procedure uses the Active Directory Schema Snap-in and/or PowerShell to verify that the schema updates were applied. 您必须从域加入 的计算机上运行这些工具。AWS Managed Microsoft AD. 这可以是本地网络中通过访问 Virtual Private Cloud (VPC) 或通过虚拟专用网络 (VPN) 连接运行的 Windows 服务器。You can also run these tools on an Amazon EC2 Windows instance (see How to launch a new EC2 instance with seamless domain join).

使用 Active Directory 架构管理单元进行验证

  1. Install the Active Directory Schema Snap-In using the instructions on the TechNet website.

  2. Open the Microsoft Management Console (MMC) and expand the AD Schema tree for your directory.

  3. Navigate through the Classes and Attributes folders until you find the schema changes that you made earlier.

To verify using PowerShell

  1. Open a PowerShell window.

  2. 使用如下所示的 Get-ADObject cmdlet 来验证架构更改。例如:

    get-adobject -Identity 'CN=Shoe-Size,CN=Schema,CN=Configuration,DC=example,DC=com' -Properties *

Optional step

(可选) 向新属性中添加值