Get-VirtualDiskSupportedSize
Returns all sizes supported by a storage pool for virtual disk creation based on the specified resiliency setting name.
Syntax
Get-VirtualDiskSupportedSize
[[-FriendlyName] <String[]>]
[-AsJob]
[-CimSession <CimSession[]>]
[-HealthStatus <HealthStatus[]>]
[-IsPrimordial <Boolean[]>]
[-ResiliencySettingName <String>]
[-ThrottleLimit <Int32>]
[-Usage <Usage[]>]
Get-VirtualDiskSupportedSize
[-AsJob]
[-CimSession <CimSession[]>]
[-HealthStatus <HealthStatus[]>]
[-IsPrimordial <Boolean[]>]
[-PhysicalDisk <CimInstance>]
[-ResiliencySettingName <String>]
[-ThrottleLimit <Int32>]
Get-VirtualDiskSupportedSize
[-AsJob]
[-CimSession <CimSession[]>]
[-HealthStatus <HealthStatus[]>]
[-IsPrimordial <Boolean[]>]
[-ResiliencySettingName <String>]
[-StorageSubSystem <CimInstance>]
[-ThrottleLimit <Int32>]
Get-VirtualDiskSupportedSize
[-AsJob]
[-CimSession <CimSession[]>]
[-HealthStatus <HealthStatus[]>]
[-IsPrimordial <Boolean[]>]
[-OtherUsageDescription <String[]>]
[-ResiliencySettingName <String>]
[-ThrottleLimit <Int32>]
[-Usage <Usage[]>]
Get-VirtualDiskSupportedSize
[-AsJob]
[-CimSession <CimSession[]>]
[-HealthStatus <HealthStatus[]>]
[-IsPrimordial <Boolean[]>]
[-Name <String[]>]
[-ResiliencySettingName <String>]
[-ThrottleLimit <Int32>]
Get-VirtualDiskSupportedSize
[-AsJob]
[-CimSession <CimSession[]>]
[-HealthStatus <HealthStatus[]>]
[-IsPrimordial <Boolean[]>]
[-ResiliencySettingName <String>]
[-ThrottleLimit <Int32>]
[-UniqueId <String[]>]
Get-VirtualDiskSupportedSize
[-AsJob]
[-CimSession <CimSession[]>]
[-ResiliencySettingName <String>]
[-ThrottleLimit <Int32>]
-InputObject <CimInstance[]>
Get-VirtualDiskSupportedSize
[-AsJob]
[-CimSession <CimSession[]>]
[-HealthStatus <HealthStatus[]>]
[-IsPrimordial <Boolean[]>]
[-ResiliencySetting <CimInstance>]
[-ResiliencySettingName <String>]
[-ThrottleLimit <Int32>]
Get-VirtualDiskSupportedSize
[-AsJob]
[-CimSession <CimSession[]>]
[-HealthStatus <HealthStatus[]>]
[-IsPrimordial <Boolean[]>]
[-ResiliencySettingName <String>]
[-ThrottleLimit <Int32>]
[-VirtualDisk <CimInstance>]
Description
The Get-VirtualDiskSupportedSize cmdlet returns all sizes supported by a storage pool for virtual disk creation based on the specified resiliency setting name.
Examples
EXAMPLE 1
PS C:\>Get-VirtualDiskSupportedSize -ResiliencySettingsName Mirror
This example lists the minimum and maximum supported sizes for virtual disk creation using the specified resiliency settings name.
Parameters
-AsJob
ps_cimcommon_asjob
Type: | SwitchParameter |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-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-CimSessionhttp://go.microsoft.com/fwlink/p/?LinkId=227967 or Get-CimSessionhttp://go.microsoft.com/fwlink/p/?LinkId=227966 cmdlet. The default is the current session on the local computer.
Type: | CimSession[] |
Aliases: | Session |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-FriendlyName
Specifies a friendly name for a storage pool. The friendly name may be defined by a user and is not guaranteed to be unique.
Type: | String[] |
Position: | 1 |
Default value: | None |
Required: | False |
Accept pipeline input: | True |
Accept wildcard characters: | False |
-HealthStatus
Specifies the status of an object and indicates if the object is Healthy or Warning Unhealthy.
Type: | HealthStatus[] |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-InputObject
Accepts an object from the pipeline as input.
Type: | CimInstance[] |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | True |
Accept wildcard characters: | False |
-IsPrimordial
Specifies that the storage pool is a Primordial pool. Multiple Primordial pools are possible with some Storage Management providers.
Type: | Boolean[] |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-Name
Specifies the name of an object or setting.
Type: | String[] |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | True |
Accept wildcard characters: | False |
-OtherUsageDescription
Specifies the usage of this object.
Type: | String[] |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | True |
Accept wildcard characters: | False |
-PhysicalDisk
Accepts a PhysicalDisk object as input. The Physical Disk CIM object is exposed by the Get-PhysicalDiskhttp://technet.microsoft.com/library/a204dcde-bfac-43ac-9b79-d81384f255be cmdlet.
Type: | CimInstance |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | True |
Accept wildcard characters: | False |
-ResiliencySetting
Accepts a ResiliencySetting object as input. The Resiliency Setting CIM object is exposed by the com/library/ea364a0b-06d6-4653-b41c-be69b8038b54" \t "_blank" Get-ResiliencySetting cmdlet.
Type: | CimInstance |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | True |
Accept wildcard characters: | False |
-ResiliencySettingName
Specifies the name of the desired resiliency setting, for example Simple, Mirror, or Parity.
Type: | String |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-StorageSubSystem
Accepts a StorageSubsystem object as input. The Storage Subsystem CIM object is exposed by the Get-StorageSubsystemhttp://technet.microsoft.com/library/ea364a0b-06d6-4653-b41c-be69b8038b54 cmdlet.
Type: | CimInstance |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | True |
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 PowerShell® 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.
Type: | Int32 |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-UniqueId
Specifies an ID used to uniquely identify a Disk object in the system. The ID persists through restarts.
Type: | String[] |
Aliases: | Id |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | True |
Accept wildcard characters: | False |
-Usage
Specifies the intended usage.
Type: | Usage[] |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | True |
Accept wildcard characters: | False |
-VirtualDisk
Accepts a VirtualDisk object as input. The Virtual Disk CIM object is exposed by the Get-VirtualDiskhttp://technet.microsoft.com/library/0eeba53f-6468-485f-a680-49260b4c83f0 cmdlet.
Type: | CimInstance |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | True |
Accept wildcard characters: | False |
Inputs
The Microsoft.Management.Infrastructure.CimInstance
object is a wrapper class that displays Windows Management Instrumentation (WMI) objects.
The path after the pound sign (#
) provides the namespace and class name for the underlying WMI object.
The Microsoft.Management.Infrastructure.CimInstance
object is a wrapper class that displays Windows Management Instrumentation (WMI) objects.
The path after the pound sign (#
) provides the namespace and class name for the underlying WMI object.
The Microsoft.Management.Infrastructure.CimInstance
object is a wrapper class that displays Windows Management Instrumentation (WMI) objects.
The path after the pound sign (#
) provides the namespace and class name for the underlying WMI object.
The Microsoft.Management.Infrastructure.CimInstance
object is a wrapper class that displays Windows Management Instrumentation (WMI) objects.
The path after the pound sign (#
) provides the namespace and class name for the underlying WMI object.
Outputs
UInt64[]
Related Links
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for