Configures the upnSuffixes attribute of the Partitions container and displays the new values to the operator.
Const ADS_PROPERTY_APPEND = 3Set objPartitions = GetObject _("LDAP://cn=Partitions,cn=Configuration,dc=fabrikam,dc=com")objPartitions.PutEx ADS_PROPERTY_APPEND, _"upnSuffixes", Array("sa.fabrikam.com","corp.fabrikam.com")objPartitions.SetInfoFor Each Suffix in objPartitions.GetEx("upnSuffixes")WScript.Echo SuffixNext
This is a VB Script, this can be used by saving the file in .vbs file