NAME
Get-PartitionSupportedSize
SYNOPSIS
Returns information on supported partition sizes for the specified Disk object.SYNTAX
Get-PartitionSupportedSize [-DiskNumber]
[[-PartitionNumber] ] [-CimSession ] [-ThrottleLimit
] [ ] Get-PartitionSupportedSize [-CimSession
[] [-ThrottleLimit ] -DriveLetter ] Get-PartitionSupportedSize [-CimSession
] [-Offset ] [-ThrottleLimit ] -DiskId [ ] Get-PartitionSupportedSize [-CimSession
] [-ThrottleLimit ] [ ] DESCRIPTION
The Get-PartitionSupportedSizes cmdlet returns information on supported partition sizes for the specified Disk
object.PARAMETERS
-CimSession [
Runs the cmdlet in a remote session or on a remote computer. Enter a computer name or a session object, such] as the output of a New-CimSession or Get-CimSession cmdlet. The default is the current session on the local
computer. Required? false Position? named Default value none Accept pipeline input? false Accept wildcard characters? false-DiskId
Specifies an ID used to identify a disk in the system. Required? true Position? named Default value noneAccept pipeline input? True (ByPropertyName)
Accept wildcard characters? false-DiskNumber
Specifies an array of disk numbers. These represent the disks for which to get partitions. Required? true Position? 1 Default value noneAccept pipeline input? True (ByPropertyName)
Accept wildcard characters? false-DriveLetter
Specifies a letter used to identify a drive or volume in the system. Required? true Position? named Default value noneAccept pipeline input? True (ByPropertyName)
Accept wildcard characters? false-Offset [
Specifies the starting offset, in bytes. Required? false Position? named Default value none] Accept pipeline input? True (ByPropertyName)
Accept wildcard characters? false-PartitionNumber [
Specifies the number of the partition. Required? false Position? 2 Default value none Accept pipeline input? false Accept wildcard characters? false] -ThrottleLimit [
Specifies the maximum number of concurrent operations that can be established to run the cmdlet. If this parameter is omitted or a value of 0 is entered, then Windows PowerShellr calculates an optimum throttle limit for the cmdlet based on the number of CIM cmdlets that are running on the computer. The throttle limit applies only to the current cmdlet, not to the session or to the computer. Required? false Position? named Default value none Accept pipeline input? false Accept wildcard characters? false] This cmdlet supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, WarningVariable, OutBuffer, PipelineVariable, and OutVariable. For more information, see about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216). INPUTS
Microsoft.Management.Infrastructure.CimInstance#ROOT/Microsoft/Windows/Storage/MSFT_Partition http://msdn.microsoft.com/library/windows/desktop/hh830524.aspx You can pipe a Partition object to the InputObject parameter.OUTPUTS
System.UInt64Example 1
PS C:\>Get-PartitionSupportedSizes -DiskNumber 3 -PartitionNumber 2
MinimumSize MaximumSize----------- -----------
This example is not fully implemented and does not include size values.RELATED LINKS
Online Version: http://go.microsoft.com/fwlink/?LinkId=816393Get-Partition