external help file | Module Name | ms.date | online version | schema | title |
---|---|---|---|---|---|
StorageSubSystem.cdxml-help.xml |
Storage |
10/29/2017 |
2.0.0 |
New-StorageSubsystemVirtualDisk |
Allows the creation of a VirtualDisk object on a storage subsystem that does not support creation of storage pools.
New-StorageSubsystemVirtualDisk [-StorageSubSystemFriendlyName] <String[]> [-FriendlyName <String>]
[-Usage <Usage>] [-OtherUsageDescription <String>] [-Size <UInt64>] [-UseMaximumSize] [-Interleave <UInt64>]
[-NumberOfColumns <UInt16>] [-PhysicalDiskRedundancy <UInt16>] [-NumberOfDataCopies <UInt16>]
[-ParityLayout <ParityLayout>] [-RequestNoSinglePointOfFailure <Boolean>]
[-ProvisioningType <ProvisioningType>] [-IsEnclosureAware] [-CimSession <CimSession[]>]
[-ThrottleLimit <Int32>] [-AsJob] [<CommonParameters>]
New-StorageSubsystemVirtualDisk -StorageSubSystemUniqueId <String[]> [-FriendlyName <String>] [-Usage <Usage>]
[-OtherUsageDescription <String>] [-Size <UInt64>] [-UseMaximumSize] [-Interleave <UInt64>]
[-NumberOfColumns <UInt16>] [-PhysicalDiskRedundancy <UInt16>] [-NumberOfDataCopies <UInt16>]
[-ParityLayout <ParityLayout>] [-RequestNoSinglePointOfFailure <Boolean>]
[-ProvisioningType <ProvisioningType>] [-IsEnclosureAware] [-CimSession <CimSession[]>]
[-ThrottleLimit <Int32>] [-AsJob] [<CommonParameters>]
New-StorageSubsystemVirtualDisk -StorageSubSystemName <String[]> [-FriendlyName <String>] [-Usage <Usage>]
[-OtherUsageDescription <String>] [-Size <UInt64>] [-UseMaximumSize] [-Interleave <UInt64>]
[-NumberOfColumns <UInt16>] [-PhysicalDiskRedundancy <UInt16>] [-NumberOfDataCopies <UInt16>]
[-ParityLayout <ParityLayout>] [-RequestNoSinglePointOfFailure <Boolean>]
[-ProvisioningType <ProvisioningType>] [-IsEnclosureAware] [-CimSession <CimSession[]>]
[-ThrottleLimit <Int32>] [-AsJob] [<CommonParameters>]
New-StorageSubsystemVirtualDisk -InputObject <CimInstance[]> [-FriendlyName <String>] [-Usage <Usage>]
[-OtherUsageDescription <String>] [-Size <UInt64>] [-UseMaximumSize] [-Interleave <UInt64>]
[-NumberOfColumns <UInt16>] [-PhysicalDiskRedundancy <UInt16>] [-NumberOfDataCopies <UInt16>]
[-ParityLayout <ParityLayout>] [-RequestNoSinglePointOfFailure <Boolean>]
[-ProvisioningType <ProvisioningType>] [-IsEnclosureAware] [-CimSession <CimSession[]>]
[-ThrottleLimit <Int32>] [-AsJob] [<CommonParameters>]
The New-StorageSubsystemVirtualDisk cmdlet allows the creation of a VirtualDisk object on a storage subsystem that does not support creation of storage pools, or if its storage pool does not support virtual disk creation.
PS C:\> $stsubsys = (Get-StorageSubsystem)
PS C:\> New-StorageSubsystemVirtualDisk -StorageSubsystemUniqueId $stsubsys.UniqueID -FriendlyName "VirtualDisk01" -Size "5GB" -ProvisioningType Fixed
This example creates a Virtual Disk named VirtualDisk01 on the provided StorageSubsystem without the use of a Storage Pool
ps_cimcommon_asjob
Type: SwitchParameter
Parameter Sets: (All)
Aliases:
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
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[]
Parameter Sets: (All)
Aliases: Session
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
Specifies a friendly name for a virtual disk. The friendly name may be defined by a user and is not guaranteed to be unique.
Type: String
Parameter Sets: (All)
Aliases: VirtualDiskFriendlyName
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
Accepts an object from the pipeline as input.
Type: CimInstance[]
Parameter Sets: InputObject (cdxml)
Aliases:
Required: True
Position: Named
Default value: None
Accept pipeline input: True (ByValue)
Accept wildcard characters: False
Specifies the interleave value to use during the creation of a virtual disk.
Type: UInt64
Parameter Sets: (All)
Aliases:
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
Specifies that the enclosure supports SCSI Enclosure Services (SES), which is utilized for providing things like Slot location for a physical disk, as well as to manage LEDs on the disks for visual identification.
Type: SwitchParameter
Parameter Sets: (All)
Aliases:
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
Specifies the number of columns to create.
Type: UInt16
Parameter Sets: (All)
Aliases:
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
Specifies the number of data copies to create.
Type: UInt16
Parameter Sets: (All)
Aliases:
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
Specifies the usage of this object.
Type: String
Parameter Sets: (All)
Aliases:
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
Specifies the parity layout to be used with the virtual disk to be created.
Type: ParityLayout
Parameter Sets: (All)
Aliases:
Accepted values: NonRotatedParity, RotatedParity
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
Specifies the physical disk redundancy value to use during the creation of a virtual disk.
Type: UInt16
Parameter Sets: (All)
Aliases:
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
Specifies the type of provisioning. The acceptable values for this parameter are: Unknown, Fixed, or Thin.
Type: ProvisioningType
Parameter Sets: (All)
Aliases:
Accepted values: Unknown, Thin, Fixed
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
Requests that the virtual disk is created on hardware that has path redundancy to provide resilience to storage path faults. This cannot be guaranteed.
Type: Boolean
Parameter Sets: (All)
Aliases:
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
Specifies the size of the partition to create. If not specified, then the number will default to Bytes. The acceptable values for this parameter are: Bytes, KB, MB, GB, or TB. The size may be defined by a user.
Type: UInt64
Parameter Sets: (All)
Aliases:
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
Specifies the friendly name of the storage subsystem. The friendly name may be defined by the user.
Type: String[]
Parameter Sets: ByFriendlyName
Aliases:
Required: True
Position: 0
Default value: None
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: False
Specifies the name of the storage subsystem provided by the Storage Management.
Type: String[]
Parameter Sets: ByName
Aliases:
Required: True
Position: Named
Default value: None
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: False
Specifies an ID used to uniquely identify the storage subsystem in the system. The ID persists through reboots.
Type: String[]
Parameter Sets: ByUniqueId
Aliases: StorageSubsystemId
Required: True
Position: Named
Default value: None
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: False
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
Parameter Sets: (All)
Aliases:
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
Specifies the intended usage.
Type: Usage
Parameter Sets: (All)
Aliases:
Accepted values: Other, Unrestricted, ReservedForComputerSystem, ReservedForReplicationServices, ReservedForMigrationServices, LocalReplicaSource, RemoteReplicaSource, LocalReplicaTarget, RemoteReplicaTarget, LocalReplicaSourceOrTarget, RemoteReplicaSourceOrTarget, DeltaReplicaTarget, ElementComponent, ReservedAsPoolContributer, CompositeVolumeMember, CompositeVirtualDiskMember, ReservedForSparing
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
Uses the maximum allowable size for this virtual disk.
Type: SwitchParameter
Parameter Sets: (All)
Aliases:
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters (http://go.microsoft.com/fwlink/?LinkID=113216).
Microsoft.Management.Infrastructure.CimInstance#ROOT/Microsoft/Windows/Storage/MSFT_StorageSubsystem
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.