powershellscripts.com

Tutorials  PowerShell Cmdlet Help for Get-VMHostDiagnosticPartition



NAME
Get-VMHostDiagnosticPartition

SYNOPSIS
Retrieves a list of the diagnostic partitions on the specified hosts.

SYNTAX
Get-VMHostDiagnosticPartition [-VMHost] [-All] [-Server ] []


DESCRIPTION
Retrieves a list of the diagnostic partitions on the specified hosts. The list is ordered by the partitions prefere
nce. Local diagnostic partitions are more preferable than shared diagnostic partitions because multiple servers can
not share the same partition. The most preferred diagnostic partition is first in the list.


PARAMETERS
-VMHost
Specify the hosts for which you want to retrieve diagnostic partitions.

Required? true
Position? 1
Default value
Accept pipeline input? true (ByValue)
Accept wildcard characters? true

-All
Indicate that you want to retrieve all diagnostic partitions on the specified hosts. By default, only the activ
e partitions are retrieved.

Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false

-Server
Specifies a vSphere server to search for the specified vSphere .NET object. If no value is given to this parame
ter, the command runs on the server currently specified in the $DefaultVIServer variable.

Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? true


This cmdlet supports the common parameters: Verbose, Debug,
ErrorAction, ErrorVariable, WarningAction, WarningVariable,
OutBuffer and OutVariable. For more information, type,
"get-help about_commonparameters".

INPUTS



OUTPUTS
VMHostDiagnosticPartition


NOTES




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

C:\PS>Get-VMHost 192.168.1.10 | Get-VMHostDiagnosticPartition -All


Retrieves all diagnostic partitions for the specified host.






RELATED LINKS
Online version: http://www.vmware.com/support/developer/PowerCLI/PowerCLI501/html/Get-VMHostDiagnosticPartition.htm
l
Set-VMHostDiagnosticPartition