Get-VMHostProfileStorageDeviceConfiguration

Retrieves the storage device configuration for the given host profile.

Syntax

-HostProfile  <VMHostProfile[]>
[-DeviceName  <String[]>]
[-Server  <VIServer[]>]
[CommonParameters]

Parameters

Required Parameter Name Type Position Features Description
required
HostProfile
VMHostProfile[] named
  • pipeline
  • Specifies the virtual machine host profile.
    optional
    DeviceName
    String[] named 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.
    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

    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

    Related Commands

    Feedback

    Was this page helpful?