Skip to main content

Spconfigmessage2

Properties

NameTypeDescriptionNotes
KeyStringMessage key.[required]
TextStringMessage text.[required]
Details[map[string]SystemCollectionsHashtable]https://learn.microsoft.com/en-us/dotnet/api/system.collections.hashtable?view=net-9.0Message details if any, in key:value pairs.[required]

Examples

  • Prepare the resource
$Spconfigmessage2 = Initialize-Spconfigmessage2  -Key UNKNOWN_REFERENCE_RESOLVER `
-Text Unable to resolve reference for object [type: IDENTITY, id: 2c91808c746e9c9601747d6507332ecz, name: random identity] `
-Details {"details":"message details"}
  • Convert the resource to JSON
$Spconfigmessage2 | ConvertTo-JSON

[Back to top]