< Back

Get-VMHostModule

Sun Jan 19, 2020 6:55 pm

NAME Get-VMHostModule



SYNOPSIS

This cmdlet retrieves the option strings of the specified host modules.





SYNTAX

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





DESCRIPTION

This cmdlet retrieves the option strings of the specified host modules. To specify a server different from the

default one, use the Server parameter.





PARAMETERS

-Name <String[]>

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.



Required? false

Position? 1

Default value None

Accept pipeline input? False

Accept wildcard characters? true



-Server <VIServer[]>

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 Connect-VIServer.



Required? false

Position? named

Default value None

Accept pipeline input? True (ByValue)

Accept wildcard characters? true



-VMHost <VMHost[]>

Specifies hosts to retrieve their modules.



Required? true

Position? 2

Default value None

Accept pipeline input? True (ByValue)

Accept wildcard characters? true



<CommonParameters>

This cmdlet supports the common parameters: Verbose, Debug,

ErrorAction, ErrorVariable, WarningAction, WarningVariable,

OutBuffer, PipelineVariable, and OutVariable. For more information, see

about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216).



INPUTS



OUTPUTS

Zero or more VmHostModule objects







NOTES









-------------------------- Example 1 --------------------------



Get-VMHostModule -Name Shaper



Retrieves the option string for the specified host module.



RELATED LINKS

Online Version: https://code.vmware.com/doc/preview?id= ... odule.html

Set-VMHostModule