Edit

Set-BcdElement

{{ Fill in the Synopsis }}

Syntax

Id

Set-BcdElement
    [-Element] <String>
    [[-Id] <String>]
    [[-Store] <BcdStoreInfo>]
    -Type <ElementType>
    [-Force]
    [-WhatIf]
    [-Confirm]
    [<CommonParameters>]

Device Id

Set-BcdElement
    [-Element] <String>
    [[-Id] <String>]
    [[-Store] <BcdStoreInfo>]
    -Device <DeviceType>
    [-Force]
    [-WhatIf]
    [-Confirm]
    [<CommonParameters>]

Entry

Set-BcdElement
    [-Element] <String>
    [-Entry] <BcdEntryInfo>
    -Type <ElementType>
    [-Force]
    [-WhatIf]
    [-Confirm]
    [<CommonParameters>]

Device Entry

Set-BcdElement
    [-Element] <String>
    [-Entry] <BcdEntryInfo>
    -Device <DeviceType>
    [-Force]
    [-WhatIf]
    [-Confirm]
    [<CommonParameters>]

Description

{{ Fill in the Description }}

Examples

Example 1

PS C:\> {{ Add example code here }}

{{ Add example description here }}

Parameters

-Confirm

Prompts you for confirmation before running the cmdlet.

Parameter properties

Type:SwitchParameter
Default value:None
Supports wildcards:False
DontShow:False
Aliases:cf

Parameter sets

(All)
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-Device

{{ Fill Device Description }}

Parameter properties

Type:Microsoft.Windows.Bcd.Cmdlets.SetBcdElementCommand+DeviceType
Default value:None
Accepted values:Boot, Partition, File, Ramdisk, VHD, Locate, URI
Supports wildcards:False
DontShow:False

Parameter sets

Device Id
Position:Named
Mandatory:True
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False
Device Entry
Position:Named
Mandatory:True
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-Element

{{ Fill Element Description }}

Parameter properties

Type:String
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

(All)
Position:0
Mandatory:True
Value from pipeline:True
Value from pipeline by property name:False
Value from remaining arguments:False

-Entry

{{ Fill Entry Description }}

Parameter properties

Type:Microsoft.Windows.Bcd.Cmdlets.BcdExtensions.BcdEntryInfo
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

Entry
Position:1
Mandatory:True
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False
Device Entry
Position:1
Mandatory:True
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-Force

{{ Fill Force Description }}

Parameter properties

Type:SwitchParameter
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

(All)
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-Id

{{ Fill Id Description }}

Parameter properties

Type:String
Default value:None
Supports wildcards:False
DontShow:False
Aliases:Identifier

Parameter sets

Id
Position:1
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False
Device Id
Position:1
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-Store

{{ Fill Store Description }}

Parameter properties

Type:Microsoft.Windows.Bcd.Cmdlets.BcdExtensions.BcdStoreInfo
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

Id
Position:2
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False
Device Id
Position:2
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-Type

{{ Fill Type Description }}

Parameter properties

Type:Microsoft.Windows.Bcd.Cmdlets.SetBcdElementCommand+ElementType
Default value:None
Accepted values:Boolean, Integer, IntegerList, Entry, EntryList, String
Supports wildcards:False
DontShow:False

Parameter sets

Id
Position:Named
Mandatory:True
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False
Entry
Position:Named
Mandatory:True
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-WhatIf

Shows what would happen if the cmdlet runs. The cmdlet is not run.

Parameter properties

Type:SwitchParameter
Default value:None
Supports wildcards:False
DontShow:False
Aliases:wi

Parameter sets

(All)
Position:Named
Mandatory:False
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

String

Outputs

Object