PowerShell Logo Small

Add-PartitionAccessPath



This is the built-in help made by Microsoft for the command 'Add-PartitionAccessPath', in PowerShell version 5 - as retrieved from Windows version 'Microsoft Windows Server 2012 R2 Standard' PowerShell help files on 2016-06-23.

For PowerShell version 3 and up, where you have Update-Help, this command was run just before creating the web pages from the help files.

SYNOPSIS

Adds an access path such as a drive letter or folder to a partition.

SYNTAX


Add-PartitionAccessPath [-DiskNumber] <UInt32[]> [-PartitionNumber] <UInt32[]> [[-AccessPath] <String>] [-AsJob] [-AssignDriveLetter] [-CimSession <CimSession[]>]
[-PassThru] [-ThrottleLimit <Int32>] [-Confirm] [-WhatIf] [<CommonParameters>]
Add-PartitionAccessPath [[-AccessPath] <String>] [-AsJob] [-AssignDriveLetter] [-CimSession <CimSession[]>] [-PassThru] [-ThrottleLimit <Int32>] -DiskId <String[]> -Offset
<UInt64[]> [-Confirm] [-WhatIf] [<CommonParameters>]
Add-PartitionAccessPath [[-AccessPath] <String>] [-AsJob] [-AssignDriveLetter] [-CimSession <CimSession[]>] [-PassThru] [-ThrottleLimit <Int32>] -DriveLetter <Char[]>
[-Confirm] [-WhatIf] [<CommonParameters>]
Add-PartitionAccessPath [[-AccessPath] <String>] [-AsJob] [-AssignDriveLetter] [-CimSession <CimSession[]>] [-PassThru] [-ThrottleLimit <Int32>] -InputObject <CimInstance[]>
[-Confirm] [-WhatIf] [<CommonParameters>]



Search powershellhelp.space

DESCRIPTION


The Add-PartitionAccessPath cmdlet adds an access path such as a drive letter or folder to a partition. Access paths can be either a drive letter or a mount point.



<

RELATED LINKS

Online Version: http://go.microsoft.com/fwlink/?LinkID=294418
Get-Partition
Remove-PartitionAccessPath
Set-Partition

REMARKS

<

Examples


Example 1: Add a drive letter to a partition by disk and partition number

PS C:\>Add-PartitionAccessPath -DiskNumber 1 -PartitionNumber 2 -AccessPath F:



This example adds the access path F: to partition 2 of disk 1.