New-StorageSubsystemVirtualDisk

New-StorageSubsystemVirtualDisk

Allows the creation of a VirtualDisk object on a storage subsystem that does not support creation of storage pools.

Sintaxis

Parameter Set: ByFriendlyName
New-StorageSubsystemVirtualDisk [-StorageSubSystemFriendlyName] <String[]> [-AsJob] [-CimSession <CimSession[]> ] [-FriendlyName <String> ] [-Interleave <UInt64> ] [-IsEnclosureAware] [-NumberOfColumns <UInt16> ] [-NumberOfDataCopies <UInt16> ] [-OtherUsageDescription <String> ] [-ParityLayout <ParityLayout> ] [-PhysicalDiskRedundancy <UInt16> ] [-ProvisioningType <ProvisioningType> ] [-RequestNoSinglePointOfFailure <Boolean> ] [-Size <UInt64> ] [-ThrottleLimit <Int32> ] [-Usage <Usage> ] [-UseMaximumSize] [ <CommonParameters>]

Parameter Set: ByName
New-StorageSubsystemVirtualDisk -StorageSubSystemName <String[]> [-AsJob] [-CimSession <CimSession[]> ] [-FriendlyName <String> ] [-Interleave <UInt64> ] [-IsEnclosureAware] [-NumberOfColumns <UInt16> ] [-NumberOfDataCopies <UInt16> ] [-OtherUsageDescription <String> ] [-ParityLayout <ParityLayout> ] [-PhysicalDiskRedundancy <UInt16> ] [-ProvisioningType <ProvisioningType> ] [-RequestNoSinglePointOfFailure <Boolean> ] [-Size <UInt64> ] [-ThrottleLimit <Int32> ] [-Usage <Usage> ] [-UseMaximumSize] [ <CommonParameters>]

Parameter Set: ByUniqueId
New-StorageSubsystemVirtualDisk -StorageSubSystemUniqueId <String[]> [-AsJob] [-CimSession <CimSession[]> ] [-FriendlyName <String> ] [-Interleave <UInt64> ] [-IsEnclosureAware] [-NumberOfColumns <UInt16> ] [-NumberOfDataCopies <UInt16> ] [-OtherUsageDescription <String> ] [-ParityLayout <ParityLayout> ] [-PhysicalDiskRedundancy <UInt16> ] [-ProvisioningType <ProvisioningType> ] [-RequestNoSinglePointOfFailure <Boolean> ] [-Size <UInt64> ] [-ThrottleLimit <Int32> ] [-Usage <Usage> ] [-UseMaximumSize] [ <CommonParameters>]

Parameter Set: InputObject (cdxml)
New-StorageSubsystemVirtualDisk -InputObject <CimInstance[]> [-AsJob] [-CimSession <CimSession[]> ] [-FriendlyName <String> ] [-Interleave <UInt64> ] [-IsEnclosureAware] [-NumberOfColumns <UInt16> ] [-NumberOfDataCopies <UInt16> ] [-OtherUsageDescription <String> ] [-ParityLayout <ParityLayout> ] [-PhysicalDiskRedundancy <UInt16> ] [-ProvisioningType <ProvisioningType> ] [-RequestNoSinglePointOfFailure <Boolean> ] [-Size <UInt64> ] [-ThrottleLimit <Int32> ] [-Usage <Usage> ] [-UseMaximumSize] [ <CommonParameters>]

Descripción detallada

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.

Parámetros

-AsJob

Alias

ninguno

¿Requerido?

false

¿Posición?

named

Valor predeterminado

ninguno

¿Aceptar canalización?

false

¿Aceptar caracteres comodín?

false

-CimSession<CimSession[]>

Ejecuta el cmdlet en una sesión remota o en un equipo remoto. Escriba un nombre de equipo o un objeto de sesión, como la salida de un cmdlet New-CimSession o Get-CimSession. El valor predeterminado es la sesión actual en el equipo local.

Alias

Session

¿Requerido?

false

¿Posición?

named

Valor predeterminado

ninguno

¿Aceptar canalización?

false

¿Aceptar caracteres comodín?

false

-FriendlyName<String>

Specifies a friendly name for a virtual disk. The friendly name may be defined by a user and is not guaranteed to be unique.

Alias

VirtualDiskFriendlyName

¿Requerido?

false

¿Posición?

named

Valor predeterminado

ninguno

¿Aceptar canalización?

false

¿Aceptar caracteres comodín?

false

-InputObject<CimInstance[]>

Accepts an object from the pipeline as input.

Alias

ninguno

¿Requerido?

true

¿Posición?

named

Valor predeterminado

ninguno

¿Aceptar canalización?

True (ByValue)

¿Aceptar caracteres comodín?

false

-Interleave<UInt64>

Specifies the interleave value to use during the creation of a virtual disk.

Alias

ninguno

¿Requerido?

false

¿Posición?

named

Valor predeterminado

ninguno

¿Aceptar canalización?

false

¿Aceptar caracteres comodín?

false

-IsEnclosureAware

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.

Alias

ninguno

¿Requerido?

false

¿Posición?

named

Valor predeterminado

ninguno

¿Aceptar canalización?

false

¿Aceptar caracteres comodín?

false

-NumberOfColumns<UInt16>

Specifies the number of columns to create.

Alias

ninguno

¿Requerido?

false

¿Posición?

named

Valor predeterminado

ninguno

¿Aceptar canalización?

false

¿Aceptar caracteres comodín?

false

-NumberOfDataCopies<UInt16>

Specifies the number of data copies to create.

Alias

ninguno

¿Requerido?

false

¿Posición?

named

Valor predeterminado

ninguno

¿Aceptar canalización?

false

¿Aceptar caracteres comodín?

false

-OtherUsageDescription<String>

Specifies the usage of this object.

Alias

ninguno

¿Requerido?

false

¿Posición?

named

Valor predeterminado

ninguno

¿Aceptar canalización?

false

¿Aceptar caracteres comodín?

false

-ParityLayout<ParityLayout>

Specifies the parity layout to be used with the virtual disk to be created.

Alias

ninguno

¿Requerido?

false

¿Posición?

named

Valor predeterminado

ninguno

¿Aceptar canalización?

false

¿Aceptar caracteres comodín?

false

-PhysicalDiskRedundancy<UInt16>

Specifies the physical disk redundancy value to use during the creation of a virtual disk.

Alias

ninguno

¿Requerido?

false

¿Posición?

named

Valor predeterminado

ninguno

¿Aceptar canalización?

false

¿Aceptar caracteres comodín?

false

-ProvisioningType<ProvisioningType>

Specifies the type of provisioning. Los valores aceptables para este parámetro son los siguientes: Unknown, Fixed, or Thin.

Alias

ninguno

¿Requerido?

false

¿Posición?

named

Valor predeterminado

ninguno

¿Aceptar canalización?

false

¿Aceptar caracteres comodín?

false

-RequestNoSinglePointOfFailure<Boolean>

Requests that the virtual disk is created on hardware that has path redundancy to provide resilience to storage path faults. This cannot be guaranteed.

Alias

ninguno

¿Requerido?

false

¿Posición?

named

Valor predeterminado

ninguno

¿Aceptar canalización?

false

¿Aceptar caracteres comodín?

false

-Size<UInt64>

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.

Alias

ninguno

¿Requerido?

false

¿Posición?

named

Valor predeterminado

ninguno

¿Aceptar canalización?

false

¿Aceptar caracteres comodín?

false

-StorageSubSystemFriendlyName<String[]>

Specifies the friendly name of the storage subsystem. The friendly name may be defined by the user.

Alias

ninguno

¿Requerido?

true

¿Posición?

1

Valor predeterminado

ninguno

¿Aceptar canalización?

True (ByPropertyName)

¿Aceptar caracteres comodín?

false

-StorageSubSystemName<String[]>

Specifies the name of the storage subsystem provided by the Storage Management.

Alias

ninguno

¿Requerido?

true

¿Posición?

named

Valor predeterminado

ninguno

¿Aceptar canalización?

True (ByPropertyName)

¿Aceptar caracteres comodín?

false

-StorageSubSystemUniqueId<String[]>

Specifies an ID used to uniquely identify the storage subsystem in the system. The ID persists through reboots.

Alias

StorageSubsystemId

¿Requerido?

true

¿Posición?

named

Valor predeterminado

ninguno

¿Aceptar canalización?

True (ByPropertyName)

¿Aceptar caracteres comodín?

false

-ThrottleLimit<Int32>

Especifica el número máximo de operaciones simultáneas que se pueden establecer para ejecutar el cmdlet. Si se omite este parámetro o es especifica un valor de 0, Windows PowerShell ® calcula un límite óptimo para el cmdlet en función del número de cmdlets de CIM que se estén ejecutando en el equipo. El límite solo se aplica al cmdlet actual, no a la sesión ni al equipo.

Alias

ninguno

¿Requerido?

false

¿Posición?

named

Valor predeterminado

ninguno

¿Aceptar canalización?

false

¿Aceptar caracteres comodín?

false

-Usage<Usage>

Specifies the intended usage.

Alias

ninguno

¿Requerido?

false

¿Posición?

named

Valor predeterminado

ninguno

¿Aceptar canalización?

false

¿Aceptar caracteres comodín?

false

-UseMaximumSize

Uses the maximum allowable size for this virtual disk.

Alias

ninguno

¿Requerido?

false

¿Posición?

named

Valor predeterminado

ninguno

¿Aceptar canalización?

false

¿Aceptar caracteres comodín?

false

<CommonParameters>

Este cmdlet admite los siguientes parámetros comunes: -Verbose, -Debug, -ErrorAction, -ErrorVariable, -OutBuffer y -OutVariable. Para obtener más información, consulte about_CommonParameters (https://go.microsoft.com/fwlink/p/?LinkID=113216).

Entradas

El tipo de entrada es el tipo de los objetos que se pueden canalizar al cmdlet.

Salidas

El tipo de resultado es el tipo de objetos que emite el cmdlet.

Ejemplos

EXAMPLE 1

This example creates a Virtual Disk named VirtualDisk01 on the provided StorageSubsystem without the use of a Storage Pool

PS C:\> $stsubsys = (Get-StorageSubsystem)
PS C:\> New-StorageSubsystemVirtualDisk -StorageSubsystemUniqueId $stsubsys.UniqueID -FriendlyName "VirtualDisk01" -Size "5GB" -ProvisioningType Fixed

Temas relacionados

Get-StorageSubsystem