< Back
Set-VMHostProfileStorageDeviceConfiguration
Post
NAME Set-VMHostProfileStorageDeviceConfiguration
SYNOPSIS
This cmdlet modifies the storage device configuration for the given host profile.
SYNTAX
Set-VMHostProfileStorageDeviceConfiguration [-StorageDeviceConfiguration]
<VMHostProfileStorageDeviceConfiguration[]> [-ConfigInfo <String>] [-DeviceStateOn <Boolean>]
[-IsPerenniallyReserved <Boolean>] [-IsSharedClusterwide <Boolean>] [-NumReqOutstanding <Int32>] [-PspName
<String>] [-QueueFullSampleSize <Int32>] [-QueueFullThreshold <Int32>] [-Server <VIServer[]>] [<CommonParameters>]
DESCRIPTION
This cmdlet modifies the storage device configuration for the given host profile.
PARAMETERS
-ConfigInfo <String>
Speicifies configuration information for the device.
Required? false
Position? named
Default value None
Accept pipeline input? False
Accept wildcard characters? false
-DeviceStateOn <Boolean>
Specifies if the device state is switched On.
Required? false
Position? named
Default value None
Accept pipeline input? False
Accept wildcard characters? false
-IsPerenniallyReserved <Boolean>
Specifies if the device is perennially reserved.
Required? false
Position? named
Default value None
Accept pipeline input? False
Accept wildcard characters? false
-IsSharedClusterwide <Boolean>
Specifies if the device is shared clusterwide.
Required? false
Position? named
Default value None
Accept pipeline input? False
Accept wildcard characters? false
-NumReqOutstanding <Int32>
Specifies the maximum number of outstanding disk requests.
Required? false
Position? named
Default value None
Accept pipeline input? False
Accept wildcard characters? false
-PspName <String>
Specifies the path selection plug-in name.
Required? false
Position? named
Default value None
Accept pipeline input? False
Accept wildcard characters? false
-QueueFullSampleSize <Int32>
Specifies the queue full sample size value.
Required? false
Position? named
Default value None
Accept pipeline input? False
Accept wildcard characters? false
-QueueFullThreshold <Int32>
Specifies the queue full threshhold value.
Required? false
Position? named
Default value None
Accept pipeline input? False
Accept wildcard characters? 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.
Required? false
Position? named
Default value None
Accept pipeline input? True (ByValue)
Accept wildcard characters? false
-StorageDeviceConfiguration <VMHostProfileStorageDeviceConfiguration[]>
Specifies the configuration that you want to modify.
Required? true
Position? 0
Default value None
Accept pipeline input? True (ByValue)
Accept wildcard characters? false
<CommonParameters>
This cmdlet supports the common parameters: Verbose, Debug,
ErrorAction, ErrorVariable, WarningAction, WarningVariable,
OutBuffer, PipelineVariable, and OutVariable. For more information, see
about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216).
INPUTS
VMware.VimAutomation.ViCore.Types.V1.Host.Profile.VMHostProfileStorageDeviceConfiguration[]
VMware.VimAutomation.ViCore.Types.V1.VIServer[]
OUTPUTS
VMware.VimAutomation.ViCore.Types.V1.Host.Profile.VMHostProfileStorageDeviceConfiguration[]
NOTES
-------------------------- 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.
RELATED LINKS
Online Version: https://code.vmware.com/doc/preview?id= ... ofile.html
Get-VMHostProfileStorageDeviceConfiguration
SYNOPSIS
This cmdlet modifies the storage device configuration for the given host profile.
SYNTAX
Set-VMHostProfileStorageDeviceConfiguration [-StorageDeviceConfiguration]
<VMHostProfileStorageDeviceConfiguration[]> [-ConfigInfo <String>] [-DeviceStateOn <Boolean>]
[-IsPerenniallyReserved <Boolean>] [-IsSharedClusterwide <Boolean>] [-NumReqOutstanding <Int32>] [-PspName
<String>] [-QueueFullSampleSize <Int32>] [-QueueFullThreshold <Int32>] [-Server <VIServer[]>] [<CommonParameters>]
DESCRIPTION
This cmdlet modifies the storage device configuration for the given host profile.
PARAMETERS
-ConfigInfo <String>
Speicifies configuration information for the device.
Required? false
Position? named
Default value None
Accept pipeline input? False
Accept wildcard characters? false
-DeviceStateOn <Boolean>
Specifies if the device state is switched On.
Required? false
Position? named
Default value None
Accept pipeline input? False
Accept wildcard characters? false
-IsPerenniallyReserved <Boolean>
Specifies if the device is perennially reserved.
Required? false
Position? named
Default value None
Accept pipeline input? False
Accept wildcard characters? false
-IsSharedClusterwide <Boolean>
Specifies if the device is shared clusterwide.
Required? false
Position? named
Default value None
Accept pipeline input? False
Accept wildcard characters? false
-NumReqOutstanding <Int32>
Specifies the maximum number of outstanding disk requests.
Required? false
Position? named
Default value None
Accept pipeline input? False
Accept wildcard characters? false
-PspName <String>
Specifies the path selection plug-in name.
Required? false
Position? named
Default value None
Accept pipeline input? False
Accept wildcard characters? false
-QueueFullSampleSize <Int32>
Specifies the queue full sample size value.
Required? false
Position? named
Default value None
Accept pipeline input? False
Accept wildcard characters? false
-QueueFullThreshold <Int32>
Specifies the queue full threshhold value.
Required? false
Position? named
Default value None
Accept pipeline input? False
Accept wildcard characters? 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.
Required? false
Position? named
Default value None
Accept pipeline input? True (ByValue)
Accept wildcard characters? false
-StorageDeviceConfiguration <VMHostProfileStorageDeviceConfiguration[]>
Specifies the configuration that you want to modify.
Required? true
Position? 0
Default value None
Accept pipeline input? True (ByValue)
Accept wildcard characters? false
<CommonParameters>
This cmdlet supports the common parameters: Verbose, Debug,
ErrorAction, ErrorVariable, WarningAction, WarningVariable,
OutBuffer, PipelineVariable, and OutVariable. For more information, see
about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216).
INPUTS
VMware.VimAutomation.ViCore.Types.V1.Host.Profile.VMHostProfileStorageDeviceConfiguration[]
VMware.VimAutomation.ViCore.Types.V1.VIServer[]
OUTPUTS
VMware.VimAutomation.ViCore.Types.V1.Host.Profile.VMHostProfileStorageDeviceConfiguration[]
NOTES
-------------------------- 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.
RELATED LINKS
Online Version: https://code.vmware.com/doc/preview?id= ... ofile.html
Get-VMHostProfileStorageDeviceConfiguration