Get-VMHostModule

This cmdlet retrieves the option strings of the specified host modules. To specify a server different from the default one, use the Server parameter.

Syntax

[-VMHost]  <VMHost[]>
[-Name  <String[]>]
[-Server  <VIServer[]>]
[CommonParameters]

Parameters

Required Parameter Name Type Position Features Description
required
VMHost
VMHost[] 1
  • wildcards
  • pipeline
  • Specifies hosts to retrieve their modules.
    optional
    Name
    String[] named
  • wildcards
  • Specifies the names of the host modules you want to retrieve. To find a list of the valid module names for different servers, see the vSphere documentation or in the ESX console, run "esxcfg-module -l". This parameter is mandatory only if you are connected to ESX/vCenter Server with version earlier than 4.0.
    optional
    Server
    VIServer[] named
  • wildcards
  • 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 Connect-VIServer.

    Output

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

    Examples


    Example 1

    Get-VMHostModule -Name Shaper

    Retrieves the option string for the specified host module.

    Related Commands

    Feedback

    Was this page helpful?