Skip to main content

Searchattributeconfig

Properties

NameTypeDescriptionNotes
NameStringName of the new attribute[optional]
DisplayNameStringThe display name of the new attribute[optional]
ApplicationAttributes[SystemCollectionsHashtable]https://learn.microsoft.com/en-us/dotnet/api/system.collections.hashtable?view=net-9.0Map of application id and their associated attribute.[optional]

Examples

  • Prepare the resource
$Searchattributeconfig = Initialize-Searchattributeconfig  -Name newMailAttribute `
-DisplayName New Mail Attribute `
-ApplicationAttributes {"2c91808b79fd2422017a0b35d30f3968":"employeeNumber","2c91808b79fd2422017a0b36008f396b":"employeeNumber"}
  • Convert the resource to JSON
$Searchattributeconfig | ConvertTo-JSON

[Back to top]