Export (0) Print
Expand All
Expand Minimize

Get-HpcOperationLog

Updated: January 10, 2014

Get-HpcOperationLog

Gets the log and substeps for the specified operation.

Syntax

Parameter Set: Default
Get-HpcOperationLog [-Operation] <HpcOperation> [-Scheduler <String> ] [-Severity <LogLevel[]> ] [ <CommonParameters>]




Detailed Description

Gets the log and substeps for the specified operation.

Parameters

-Operation<HpcOperation>

Specifies an HpcOperation object for the operation for which you want to get the log. Use the Get-HpcOperation to get an HpcOperation object for an operation.


Aliases

none

Required?

true

Position?

1

Default Value

no default

Accept Pipeline Input?

True (ByValue)

Accept Wildcard Characters?

false

-Scheduler<String>

Specifies the host name or IP address of the head node for the cluster on which the operation ran. The value must be a valid computer name or IP address. If you do not specify the Scheduler parameter, this cmdlet uses the scheduler on the head node that the CCP_SCHEDULER environment variable specifies. To set this environment variable, run the following cmdlet:

Set-Content Env:CCP_SCHEDULER <head_node_name>


Aliases

none

Required?

false

Position?

named

Default Value

%CCP_SCHEDULER%

Accept Pipeline Input?

false

Accept Wildcard Characters?

false

-Severity<LogLevel[]>

Specifies a list of one or more severity levels of the events that you want to get. Use this parameter to retrieve error, warning, or informational messages from the log for the operation. The valid severity values are Error, Warning, and Information.


Aliases

none

Required?

false

Position?

named

Default Value

Error,Warning,Information

Accept Pipeline Input?

false

Accept Wildcard Characters?

false

<CommonParameters>

This cmdlet supports the common parameters: -Verbose, -Debug, -ErrorAction, -ErrorVariable, -OutBuffer, and -OutVariable. For more information, see about_CommonParameters

Inputs

The input type is the type of the objects that you can pipe to the cmdlet.

  • An HpcOperation object.

Outputs

The output type is the type of the objects that the cmdlet emits.

  • One or more ChangeLogEntry objects.

Notes

  • You must be a cluster administrator to run this cmdlet successfully.

Examples

EXAMPLE 1

Gets the events in the event log for the oldest available operation for the HPC cluster.


PS C:\>(Get-HpcOperation)[0] | Get-HpcOperationLog

EXAMPLE 2

Gets the events with a severity level of Error or Warning from the event log for the last operation that was reverted.


PS C:\>Get-HpcOperation -State Reverted | Select-Object -Last 1 | Get-HpcOperationLog -Severity Error,Warning

Related topics

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft