Set-VMHostModule

This cmdlet overrides the host module options with the given ones.

Syntax

[-Options]  <String>
-HostModule  <VmHostModule[]>
[CommonParameters]

Parameters

Required Parameter Name Type Position Features Description
required
Options
String 1 Specifies the new options of the host module.
required
HostModule
VmHostModule[] named
  • pipeline
  • Specifies the host module you want to configure.

    Output

    VMware.VimAutomation.ViCore.Types.V1.Host.VmHostModule

    Examples


    Example 1

    $module = Get-VMHostModule -Name Shaper
    Set-VMHostModule -HostModule $module -Options "New options text"

    Overrides the options of the Shaper host module with the provided ones.

    Example 2

    Get-VMHostModule Shaper | Set-VMHostModule -Options "New options text" -Confirm

    Overrides the options of the Shaper host module with the provided ones.

    Related Commands

    Feedback

    Was this page helpful?