Attributes Parameter (Set-LDAP Cmdlet)
Attribute values for the current entry.
Syntax
Set-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"
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