Table of contents
TLS
TOC
Collapse the table of content
Expand the table of content

Get-SbecLocalizedMessage

Brian Lich|Last Updated: 3/26/2017

SYNOPSIS

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.

EXAMPLES

PARAMETERS

-Name

Specifies the name of the localized message to get.

Type: String
Parameter Sets: (All)
Aliases: 

Required: True
Position: 0
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

CommonParameters

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.

INPUTS

None.

OUTPUTS

string

This cmdlet gets the text of the localized message.

NOTES

© 2017 Microsoft