From fef7e6def7acbc290a12d81e856516d4990cc109 Mon Sep 17 00:00:00 2001 From: VARADHARAJAN K <3296790+RAJU2529@users.noreply.github.com> Date: Mon, 2 Oct 2023 20:40:05 +0530 Subject: [PATCH 1/2] Update Set-WheaMemoryPolicy.md added new command taken from windows 11 --- docset/winserver2022-ps/whea/Set-WheaMemoryPolicy.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/docset/winserver2022-ps/whea/Set-WheaMemoryPolicy.md b/docset/winserver2022-ps/whea/Set-WheaMemoryPolicy.md index f546338579..3178f326d6 100644 --- a/docset/winserver2022-ps/whea/Set-WheaMemoryPolicy.md +++ b/docset/winserver2022-ps/whea/Set-WheaMemoryPolicy.md @@ -65,6 +65,12 @@ PS C:\> $X | Set-WheaMemoryPolicy This command gets the memory policy in the variable $X, sets the value of X. DisableOffline to True, and then uses $X to set the memory policy. +### Example 4: Set WHEA memory policy with all parameters +``` +PS C:\> Set-WHEAMemoryPolicy -ComputerName Laptop-X542UQ -DisableOffline $False -DisablePFA $False -PersistMemoryOffline $False -PFAPageCount 12000 -PFAErrorThreshold 16 -PFATimeout 86400 +``` +This command sets all policies without persistent memory device + ## PARAMETERS ### -ComputerName From e98c315823155143b4505e0a5eb770b279b1e0fa Mon Sep 17 00:00:00 2001 From: VARADHARAJAN K <3296790+RAJU2529@users.noreply.github.com> Date: Tue, 3 Oct 2023 13:33:05 +0530 Subject: [PATCH 2/2] Update docset/winserver2022-ps/whea/Set-WheaMemoryPolicy.md Accepted Co-authored-by: JohanFreelancer9 <48568725+JohanFreelancer9@users.noreply.github.com> --- docset/winserver2022-ps/whea/Set-WheaMemoryPolicy.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docset/winserver2022-ps/whea/Set-WheaMemoryPolicy.md b/docset/winserver2022-ps/whea/Set-WheaMemoryPolicy.md index 3178f326d6..e5c273d524 100644 --- a/docset/winserver2022-ps/whea/Set-WheaMemoryPolicy.md +++ b/docset/winserver2022-ps/whea/Set-WheaMemoryPolicy.md @@ -69,7 +69,7 @@ This command gets the memory policy in the variable $X, sets the value of X. Dis ``` PS C:\> Set-WHEAMemoryPolicy -ComputerName Laptop-X542UQ -DisableOffline $False -DisablePFA $False -PersistMemoryOffline $False -PFAPageCount 12000 -PFAErrorThreshold 16 -PFATimeout 86400 ``` -This command sets all policies without persistent memory device +This command sets all policies without the persistent memory device. ## PARAMETERS