Get-Sbec Localized Message

Gets a localized message string.

Syntax

Get-SbecLocalizedMessage
   [-Name] <String>
   [<CommonParameters>]

Description

The Get-SbecLocalizedMessage cmdlet gets a localized message string by its name.

Because message strings for Setup and Boot Event Collector error message are localized, identifying errors returned by Setup and Boot Event Collector commands in the scripts requires that you can identify the meaning of the localized text.

$PsHome\Modules\BootEventCollector$PsCulture\BootEventCollectorStrings.psd1 contains the localized strings and their names. Specify the name of the localized message to get it.

If the name is not known, the cmdlet will throw an error.

Required Parameters

-Name

Specifies the name of the localized message to get.

Type: String
Position: 0
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

Inputs

None.

Outputs

string

This cmdlet gets the text of the localized message.