Get-SbecLocalizedMessage
Gets a localized message string.
Syntax
Default (Default)
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.
Parameters
-Name
Specifies the name of the localized message to get.
Parameter properties
| Type: | String |
| Default value: | None |
| Supports wildcards: | False |
| DontShow: | False |
Parameter sets
(All)
| Position: | 0 |
| Mandatory: | True |
| Value from pipeline: | False |
| Value from pipeline by property name: | False |
| Value from remaining arguments: | False |
CommonParameters
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutBuffer, -OutVariable, -PipelineVariable, -ProgressAction, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.
Inputs
None.
Outputs
string
This cmdlet gets the text of the localized message.