Get-WheaMemoryPolicy

Get-WheaMemoryPolicy

Gets WHEA memory policies.

Syntax

Parameter Set: Default
Get-WheaMemoryPolicy [-ComputerName <String> ] [ <CommonParameters>]

Detailed Description

The Get-WheaMemoryPolicy cmdlet gets the Windows Hardware Error Architecture (WHEA) memory policies in effect on a local or remote computer.

Parameters

-ComputerName<String>

Specifies the name of the remote computer from which to get policy information. If no computer name is specified, the command returns the policy of the local computer.

Aliases

CN

Required?

false

Position?

named

Default Value

none

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 (https://go.microsoft.com/fwlink/p/?LinkID=113216).

Inputs

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

Outputs

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

  • WheaMemoryPolicy

Examples

Example 1: Get WHEA memory policy settings from the local computer

This command gets WHEA memory policy values (as a WheaMemoryPolicy object) from the local computer.

PS C:\> Get-WHEAMemoryPolicy

Set-WheaMemoryPolicy