< Back

Get-VMHostDiagnosticPartition

Sun Jan 19, 2020 6:54 pm

NAME Get-VMHostDiagnosticPartition



SYNOPSIS

This cmdlet retrieves a list of the diagnostic partitions on the specified hosts.





SYNTAX

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





DESCRIPTION

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.





PARAMETERS

-All [<SwitchParameter>]

Indicates that you want to retrieve all diagnostic partitions on the specified hosts. By default, only the

active partitions are retrieved.



Required? false

Position? named

Default value False

Accept pipeline input? False

Accept wildcard characters? false



-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? False

Accept wildcard characters? true



-VMHost <VMHost[]>

Specifies the hosts for which you want to retrieve diagnostic partitions.



Required? true

Position? 1

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 VMHostDiagnosticPartition objects







NOTES









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



Get-VMHost 192.168.1.10 | Get-VMHostDiagnosticPartition -All



Retrieves all diagnostic partitions for the specified host.



RELATED LINKS

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

Set-VMHostDiagnosticPartition