Set-VMHostStorage

This cmdlet configures a host storage. The cmdlet activates or deactivates the software iSCSI support for the specified VMHostStorage objects.

Syntax

-SoftwareIScsiEnabled  <Boolean>
-VMHostStorage  <VMHostStorageInfo[]>
[CommonParameters]

Parameters

Required Parameter Name Type Position Features Description
required
SoftwareIScsiEnabled
Boolean named Indicates that on this storage, software iSCSI is enabled.
required
VMHostStorage
VMHostStorageInfo[] named
  • pipeline
  • Specifies the host storage you want to configure.

    Output

    VMware.VimAutomation.ViCore.Types.V1.Host.Storage.VMHostStorageInfo

    Examples


    Example 1

    Get-VMHostStorage 10.23.112.234 | Set-VMHostStorage -SoftwareIScsiEnabled $true

    Enables the iSCSI on the specified storage.

    Related Commands

    Feedback

    Was this page helpful?