PowerShell Logo Small

Remove-PartitionAccessPath



This is the built-in help made by Microsoft for the command 'Remove-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

Removes an access path such as a drive letter or folder from a partition.

SYNTAX


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



Search powershellhelp.space

DESCRIPTION


The Remove-PartitionAccessPath cmdlet removes an access path such as a drive letter or mount point from a partition.



<

RELATED LINKS

Online Version: http://go.microsoft.com/fwlink/?LinkID=307015
Add-PartitionAccessPath
Get-Partition

REMARKS

<

Examples


EXAMPLE 1

PS C:\>Remove-PartitionAccessPath -DiskNumber 5 -PartitionNumber 2 -AccessPath K:



This example specifies a drive letter, or a mount point.