Syntax
Get-VMHostProfileStorageDeviceConfiguration [-HostProfile] <VMHostProfile[]> [-DeviceName <String[]>] [-Server <VIServer[]>] [<CommonParameters>]Related Commands
Online VersionDetailed Description
Retrieves the storage device configuration for the given host profile.Parameters
Name | Type | Description | Required? | Pipeline Input | Default Value |
---|---|---|---|---|---|
HostProfile | VMHostProfile[] | Specifies the virtual machine host profile. | true | True (ByValue) | |
DeviceName | String[] | There can be multiple devices within a host profile. This parameter filters the result for a particular device. If no value is passed to this parameter, configurations are returned for all devices by default. | false | False | |
Server | VIServer[] | Specifies the vCenter Server systems on which you want to run the cmdlet. If no 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. | false | True (ByValue) |
Return Type
VMware.VimAutomation.ViCore.Types.V1.Host.Profile.VMHostProfileStorageDeviceConfiguration[]Notes
Examples
-------------------------- Example 1 --------------------------
PS C:\> Get-VMHostProfileStorageDeviceConfiguration -HostProfile 'Host_Profile' -DeviceName 'mpx.vmhba1:C0:T5:L0'
Retrieves the storage device configuration for the device name mpx.vmhba1:C0:T5:L0 within the HostProfile named Host_Profile