Syntax
Get-VMHostDiagnosticPartition [-VMHost] <VMHost[]> [-All] [-Server <VIServer[]>] [<CommonParameters>]Related Commands
Online versionDetailed Description
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
Name | Type | Description | Required? | Pipeline Input | Default Value |
---|---|---|---|---|---|
VMHost | VMHost[] | Specify the hosts for which you want to retrieve diagnostic partitions. | true | true (ByValue) | |
All | SwitchParameter | Indicate that you want to retrieve all diagnostic partitions on the specified hosts. By default, only the active partitions are retrieved. | false | false | |
Server | VIServer[] | Specifies a vSphere server to search for the specified vSphere .NET object. If no value is given to this parameter, the command runs on the server currently specified in the $DefaultVIServer variable. | false | false |
Return Type
VMHostDiagnosticPartitionNotes
Examples
-------------- Example 1 --------------
Get-VMHost 192.168.1.10 | Get-VMHostDiagnosticPartition -All
Retrieves all diagnostic partitions for the specified host.