From 5605c84b092f881cac11bab225bb80288eb91582 Mon Sep 17 00:00:00 2001 From: MartinGC94 Date: Mon, 4 May 2026 21:49:01 +0200 Subject: [PATCH 1/3] Add missing resource strings --- .../resources/GetEventResources.resx | 21 +++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/src/Microsoft.PowerShell.Commands.Diagnostics/resources/GetEventResources.resx b/src/Microsoft.PowerShell.Commands.Diagnostics/resources/GetEventResources.resx index f8f41ecc2f5..bf3e0bd6e8c 100644 --- a/src/Microsoft.PowerShell.Commands.Diagnostics/resources/GetEventResources.resx +++ b/src/Microsoft.PowerShell.Commands.Diagnostics/resources/GetEventResources.resx @@ -285,4 +285,25 @@ The defined template is following: Log count ({0}) is exceeded Windows Event Log API limit ({1}). Adjust filter to return less log names. + + Specifies the event logs. Wildcards are permitted. + + + Specifies the event logs that this cmdlet get events from. Wildcards are permitted. + + + Specifies the event log providers that this cmdlet gets. + + + Specifies the event log providers from which this cmdlet gets events. + + + Specifies the path to the event log files that this cmdlet get events from. + + + Specifies the maximum number of events that are returned. + + + Specifies the name of the computer that this cmdlet gets events from the event logs. + From 723d34ccdd4b99dbd6db4f91e8335db2648bbd84 Mon Sep 17 00:00:00 2001 From: MartinGC94 <42123497+MartinGC94@users.noreply.github.com> Date: Mon, 4 May 2026 22:36:06 +0200 Subject: [PATCH 2/3] Potential fix for pull request finding Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com> --- .../resources/GetEventResources.resx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Microsoft.PowerShell.Commands.Diagnostics/resources/GetEventResources.resx b/src/Microsoft.PowerShell.Commands.Diagnostics/resources/GetEventResources.resx index bf3e0bd6e8c..f9bd2b4c031 100644 --- a/src/Microsoft.PowerShell.Commands.Diagnostics/resources/GetEventResources.resx +++ b/src/Microsoft.PowerShell.Commands.Diagnostics/resources/GetEventResources.resx @@ -304,6 +304,6 @@ The defined template is following: Specifies the maximum number of events that are returned. - Specifies the name of the computer that this cmdlet gets events from the event logs. + Specifies the name of the computer from which this cmdlet gets data. From be482dbccc7b3065a41850dbfe1b2ac043bb25fd Mon Sep 17 00:00:00 2001 From: MartinGC94 Date: Tue, 5 May 2026 22:45:07 +0200 Subject: [PATCH 3/3] Fix spelling of gets --- .../resources/GetEventResources.resx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Microsoft.PowerShell.Commands.Diagnostics/resources/GetEventResources.resx b/src/Microsoft.PowerShell.Commands.Diagnostics/resources/GetEventResources.resx index f9bd2b4c031..29c312adcb2 100644 --- a/src/Microsoft.PowerShell.Commands.Diagnostics/resources/GetEventResources.resx +++ b/src/Microsoft.PowerShell.Commands.Diagnostics/resources/GetEventResources.resx @@ -289,7 +289,7 @@ The defined template is following: Specifies the event logs. Wildcards are permitted. - Specifies the event logs that this cmdlet get events from. Wildcards are permitted. + Specifies the event logs that this cmdlet gets events from. Wildcards are permitted. Specifies the event log providers that this cmdlet gets. @@ -298,7 +298,7 @@ The defined template is following: Specifies the event log providers from which this cmdlet gets events. - Specifies the path to the event log files that this cmdlet get events from. + Specifies the path to the event log files that this cmdlet gets events from. Specifies the maximum number of events that are returned.