Skip to content

Mount-WinEfi

SYNOPSIS

Mounts the EFI system partition to a specified mount letter

SYNTAX

Mount-WinEfi [[-mountLtr] <Object>] [-ProgressAction <ActionPreference>] [<CommonParameters>]

DESCRIPTION

Uses the mountvol tool to mount the system partition
defaults to using A:\ but other drive letters can be specified.
If it is already mounted on the specified drive it will return null
if it is already mounted on a different drive, it will dismount it and remount on the specified letter
Use get-efimountletter to get where it is currently mounted

EXAMPLES

Example 1

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

{{ Add example description here }}

PARAMETERS

-mountLtr

The mount letter to use in A: format for mounting the EFI system partition

Type: Object
Parameter Sets: (All)
Aliases:

Required: False
Position: 1
Default value: A:
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.

INPUTS

OUTPUTS

NOTES