Syntax
Set-VMHostProfileStorageDeviceConfiguration [-StorageDeviceConfiguration] <VMHostProfileStorageDeviceConfiguration[]> [-ConfigInfo <String>] [-DeviceStateOn <Boolean>] [-IsPerenniallyReserved <Boolean>] [-IsSharedClusterwide <Boolean>] [-NumReqOutstanding <Int32>] [-PspName <String>] [-QueueFullSampleSize <Int32>] [-QueueFullThreshold <Int32>] [-Server <VIServer[]>] [<CommonParameters>]Related Commands
Online VersionDetailed Description
This cmdlet modifies the storage device configuration for the given host profile.Parameters
Name | Type | Description | Required? | Pipeline Input | Default Value |
---|---|---|---|---|---|
StorageDeviceConfiguration | VMHostProfileStorageDeviceConfiguration[] | Specifies the configuration that you want to modify. | true | True (ByValue) | |
ConfigInfo | String | Speicifies configuration information for the device. | false | False | |
DeviceStateOn | Boolean | Specifies if the device state is switched On. | false | False | |
IsPerenniallyReserved | Boolean | Specifies if the device is perennially reserved. | false | False | |
IsSharedClusterwide | Boolean | Specifies if the device is shared clusterwide. | false | False | |
NumReqOutstanding | Int32 | Specifies the maximum number of outstanding disk requests. | false | False | |
PspName | String | Specifies the path selection plug-in name. | false | False | |
QueueFullSampleSize | Int32 | Specifies the queue full sample size value. | false | False | |
QueueFullThreshold | Int32 | Specifies the queue full threshhold value. | false | False | |
Server | VIServer[] | Specifies the vCenter Server systems on which you want to run the cmdlet. If no value is given to this parameter, the command runs on the default servers. For more information about default servers, see the description of the Connect-VIServer cmdlet. | false | True (ByValue) |
Return Type
VMware.VimAutomation.ViCore.Types.V1.Host.Profile.VMHostProfileStorageDeviceConfiguration[]Notes
Examples
-------------------------- Example 1 --------------------------
PS C:\> $conf = Get-VMHostProfileStorageDeviceConfiguration --HostProfile 'Host_Profile' --DeviceName 'mpx.vmhba1:C0:T5:L0' PS C:\> 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.