Get-VMHostDiagnosticPartition

This cmdlet retrieves a list of the diagnostic partitions on the specified hosts. The list is ordered by the partitions preference. Local diagnostic partitions are more preferable than shared diagnostic partitions because multiple servers cannot share the same partition. The most preferred diagnostic partition is first in the list.

Syntax

-VMHost  <VMHost[]>
[-All]
[-Server  <VIServer[]>]
[CommonParameters]

Parameters

Required Parameter Name Type Position Features Description
required
VMHost
VMHost[] named
  • wildcards
  • pipeline
  • Specifies the hosts for which you want to retrieve diagnostic partitions.
    optional
    All
    SwitchParameter named Indicates that you want to retrieve all diagnostic partitions on the specified hosts. By default, only the active partitions are retrieved.
    optional
    Server
    VIServer[] named
  • wildcards
  • 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.VMHostDiagnosticPartition

    Examples


    Example 1

    Get-VMHost 192.168.1.10 | Get-VMHostDiagnosticPartition -All

    Retrieves all diagnostic partitions for the specified host.

    Related Commands

    Feedback

    Was this page helpful?