Skip to main content

Localizedmessage

Properties

NameTypeDescriptionNotes
LocaleStringMessage locale[required]
MessageStringMessage text[required]

Examples

  • Prepare the resource
$Localizedmessage = Initialize-Localizedmessage  -Locale An error has occurred! `
-Message Error has occurred!
  • Convert the resource to JSON
$Localizedmessage | ConvertTo-JSON

[Back to top]