PowerCLI Reference

Get-VMHostProfileStorageDeviceConfiguration

Synopsis

Retrieves the storage device configuration for the given host profile.

Syntax

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

Related Commands

Online Version
Set-VMHostProfileStorageDeviceConfiguration

Detailed Description

Retrieves the storage device configuration for the given host profile.

Parameters

NameTypeDescriptionRequired?Pipeline InputDefault Value
HostProfileVMHostProfile[]Specifies the virtual machine host profile.trueTrue (ByValue)
DeviceNameString[]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.falseFalse
ServerVIServer[]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.falseTrue (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


Copyright © VMware, Inc. All rights reserved.