Attributes Parameter (Add-LDAP Cmdlet)

Attribute values for the current entry.

Syntax

Add-LDAP -Attributes Hashtable

Remarks

This parameter is a hashtable of attributes to be submitted with the request. For instance, to add attributes to an existing entry:

Set-LDAP -AddAttribute -Attributes @{url='MyURL'; telephoneNumber='MyPhone'} -Server $server -BindDN DOMAIN\Administrator -Password admin -DN "CN=MyUser,CN=Users,DC=NS2"
To supply multi-valued attributes the value specified in the hash table may be a string array. For instance:
Set-LDAP -AddAttribute -Attributes @{objectClass=@("top","person","organizationalPerson","inetorgperson")} -Server $server -BindDN DOMAIN\Administrator -Password admin -DN "CN=MyUser,CN=Users,DC=NS2"

Default Value

null

Copyright (c) 2022 /n software inc. - All rights reserved.
NetCmdlets 2020 - Version 20.0 [Build 8319]