Get-XenCrashdumpProperty
\[Deprecated\] Gets a property of a Crashdump object.
Syntax
Get-XenCrashdumpProperty [-Crashdump] <Crashdump>
-XenProperty {Uuid | VM | VDI | OtherConfig} [-BestEffort]
[-SessionOpaqueRef <string>] [<CommonParameters>]
Get-XenCrashdumpProperty [-Ref] <XenRef[Crashdump]>
-XenProperty {Uuid | VM | VDI | OtherConfig} [-BestEffort]
[-SessionOpaqueRef <string>] [<CommonParameters>]
Description
DEPRECATED. This class has been deprecated.
Gets a specified property of a Crashdump object. Use the -XenProperty parameter to select which property to retrieve.
Uuid: Get the uuid field of the given crashdump.
VM: Get the VM field of the given crashdump.
VDI: Get the VDI field of the given crashdump.
OtherConfig: Get the other\_config field of the given crashdump.
Parameters
-BestEffort
If set, the cmdlet continues processing further objects instead of throwing a terminating error when an operation fails for one object.
| Attribute | Value |
|---|---|
| Type | SwitchParameter |
| Required | False |
| Position | Named |
| Accepts pipeline input | False |
-Crashdump
The Crashdump object to operate on.
| Attribute | Value |
|---|---|
| Type | Crashdump |
| Required | True |
| Position | 0 |
| Accepts pipeline input | True (ByValue) |
-Ref
The Crashdump object to operate on, specified by its opaque reference.
| Attribute | Value |
|---|---|
| Type | XenRef[Crashdump] |
| Required | True |
| Position | 0 |
| Accepts pipeline input | True (ByPropertyName) |
| Aliases | opaque_ref |
-SessionOpaqueRef
The session object on which to run the cmdlet. This overrides the default session and lets you target a specific open XenServer connection.
| Attribute | Value |
|---|---|
| Type | string |
| Required | False |
| Position | Named |
| Accepts pipeline input | False |
-XenProperty
Selects which property to use.
| Attribute | Value |
|---|---|
| Type | XenCrashdumpProperty |
| Required | True |
| Position | Named |
| Accepts pipeline input | False |
| Accepted values | Uuid, VM, VDI, OtherConfig |
Inputs
-
Crashdump -
XenRef[Crashdump]
Outputs
-
System.Object
Examples
Example 1: Get the VM property
PS> Get-XenCrashdump -Uuid 1871ac51-ce6b-efc3-7fd0-28bc65aa39ff | Get-XenCrashdumpProperty -XenProperty VM
Gets the VM property of a Crashdump.
Example 2: Get the VDI property
PS> Get-XenCrashdump -Uuid 1871ac51-ce6b-efc3-7fd0-28bc65aa39ff | Get-XenCrashdumpProperty -XenProperty VDI
Gets the VDI property of a Crashdump.
Example 3: Get the OtherConfig property
PS> Get-XenCrashdump -Uuid 1871ac51-ce6b-efc3-7fd0-28bc65aa39ff | Get-XenCrashdumpProperty -XenProperty OtherConfig
Gets the OtherConfig property of a Crashdump.
Related links
-
Class: Crashdump
-
Using the XenServer PowerShell module