Get-WinBcdPxeId¶
SYNOPSIS¶
Searches bcd firmware options for a given or model specific search string and returns the boot device guid
SYNTAX¶
Get-WinBcdPxeId [[-searchString] <String>] [-notBootMgr] [-ProgressAction <ActionPreference>]
[<CommonParameters>]
DESCRIPTION¶
Searches bcd firmware options for a given or model specific search string and returns the boot device guid
The id can be used with `bcdedit /set "{fwbootmgr}" displayorder $pxeID /addfirst` to be set as the first boot option in the computer's bios boot order
EXAMPLES¶
EXAMPLE 1¶
Get-WinBcdPxeId
Will return the guid of the native pxe boot option if one is found.
PARAMETERS¶
-searchString¶
Optionatlly specify a search string, can be pxe related or try to find a different id from `bcdedit /enum firmware`
Type: String
Parameter Sets: (All)
Aliases:
Required: False
Position: 1
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-notBootMgr¶
switch param to not return the main bootmgr entry if it is returned
Type: SwitchParameter
Parameter Sets: (All)
Aliases:
Required: False
Position: Named
Default value: False
Accept pipeline input: False
Accept wildcard characters: False
-ProgressAction¶
{{ Fill ProgressAction Description }}
Type: ActionPreference
Parameter Sets: (All)
Aliases: proga
Required: False
Position: Named
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.