Set-VMHostProfileStorageDeviceConfiguration

This cmdlet modifies the storage device configuration for the given host profile.

Syntax

-StorageDeviceConfiguration  <VMHostProfileStorageDeviceConfiguration[]>
[-ConfigInfo  <String>]
[-DeviceStateOn  <Boolean>]
[-IsPerenniallyReserved  <Boolean>]
[-IsSharedClusterwide  <Boolean>]
[-NumReqOutstanding  <Int32>]
[-PspName  <String>]
[-QueueFullSampleSize  <Int32>]
[-QueueFullThreshold  <Int32>]
[-Server  <VIServer[]>]
[CommonParameters]

Parameters

Required Parameter Name Type Position Features Description
required
StorageDeviceConfiguration
VMHostProfileStorageDeviceConfiguration[] named
  • pipeline
  • Specifies the configuration that you want to modify.
    optional
    ConfigInfo
    String named Speicifies configuration information for the device.
    optional
    DeviceStateOn
    Boolean named Specifies if the device state is switched On.
    optional
    IsPerenniallyReserved
    Boolean named Specifies if the device is perennially reserved.
    optional
    IsSharedClusterwide
    Boolean named Specifies if the device is shared clusterwide.
    optional
    NumReqOutstanding
    Int32 named Specifies the maximum number of outstanding disk requests.
    optional
    PspName
    String named Specifies the path selection plug-in name.
    optional
    QueueFullSampleSize
    Int32 named Specifies the queue full sample size value.
    optional
    QueueFullThreshold
    Int32 named Specifies the queue full threshhold value.
    optional
    Server
    VIServer[] named
  • pipeline
  • Specifies the vCenter Server systems on which you want to run the cmdlet. If no value is provided or $null value is passed to this parameter, the command runs on the default servers. For more information about default servers, see the description of the Connect-VIServer cmdlet.

    Output

    VMware.VimAutomation.ViCore.Types.V1.Host.Profile.VMHostProfileStorageDeviceConfiguration[]

    Examples


    Example 1

    $conf = Get-VMHostProfileStorageDeviceConfiguration --HostProfile 'Host_Profile' --DeviceName 'mpx.vmhba1:C0:T5:L0'
    Set-VMHostProfileStorageDeviceConfiguration -StorageDeviceConfiguration $config -DeviceStateOn $true -QueueFullSampleSize 0

    Modifies the storage device configuration by setting the DeviceStateOn to true and QueueFullSampleSize to zero for device name mpx.vmhba1:C0:T5:L0 in the host profile named Host_Profile.

    Related Commands

    Feedback

    Was this page helpful?