Syntax
Set-VMHostStorage -SoftwareIScsiEnabled <Boolean> -VMHostStorage <VMHostStorageInfo[]> [-Confirm] [-WhatIf] [<CommonParameters>]Related Commands
Online VersionDetailed Description
This cmdlet configures a host storage. The cmdlet enables or disables the software iSCSI support for the specified VMHostStorage objects.Parameters
Name | Type | Description | Required? | Pipeline Input | Default Value |
---|---|---|---|---|---|
Confirm | SwitchParameter | If the value is $true, indicates that the cmdlet asks for confirmation before running. If the value is $false, the cmdlet runs without asking for user confirmation. | false | False | |
SoftwareIScsiEnabled | Boolean | Indicates that on this storage, software iSCSI is enabled. | true | False | |
VMHostStorage | VMHostStorageInfo[] | Specifies the host storage you want to configure. | true | True (ByValue) | |
WhatIf | SwitchParameter | Indicates that the cmdlet is run only to display the changes that would be made and actually no objects are modified. | false | False |
Return Type
Zero or more modified VMHostStorageInfo objectsNotes
Examples
-------------------------- Example 1 --------------------------
Get-VMHostStorage 10.23.112.234 | Set-VMHostStorage -SoftwareIScsiEnabled $true
Enables the iSCSI on the specified storage.