CmdID / PowerShell / Cmdlets / Remove
Remove-PartitionAccessPath
Removes an access path such as a drive letter or folder from a partition. Windows Server PowerShell reference
From the Windows Server PowerShell reference 13 parameters Its page in the reference
Parameters
-AccessPathSpecifies a drive letter, or a mount point.-AsJobRuns the cmdlet as a background job.-CimSession, -SessionRuns the cmdlet in a remote session or on a remote computer.-Confirm, -cfPrompts you for confirmation before running the cmdlet.-DiskIdSpecifies an ID used to identify a disk in the system.-DiskNumberSpecifies an array of disk numbers.-DriveLetterSpecifies a letter used to identify a drive or volume in the system.-InputObjectSpecifies the input object that is used in a pipeline command.-OffsetSpecifies the starting offset, in bytes.-PartitionNumber, -NumberSpecifies the number of the partition.-PassThruSends items from the interactive window down the pipeline as input to other cmdlets.-ThrottleLimitSpecifies the maximum number of concurrent operations that can be established to run the cmdlet.-WhatIf, -wiShows what would happen if the cmdlet runs.