From 8639a3b84dc0a93896baa41d30ed54508c6fa778 Mon Sep 17 00:00:00 2001 From: Ilya Date: Sat, 28 Sep 2019 00:10:14 +0500 Subject: [PATCH 1/3] Reword access denied error message in Get-WinEvent --- .../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 20b9fe45eb7..a2029ec13eb 100644 --- a/src/Microsoft.PowerShell.Commands.Diagnostics/resources/GetEventResources.resx +++ b/src/Microsoft.PowerShell.Commands.Diagnostics/resources/GetEventResources.resx @@ -253,7 +253,7 @@ The defined template is following: The following value is not in a valid DateTime format: {0}. - Could not retrieve information about the {0} log. Error: {1}. + {1} To access the '{0}' log start PowerShell by using the "Run as Administrator" command. Cannot retrieve event message text. From 6a6acc663e8868afa6cc154069df67f257572249 Mon Sep 17 00:00:00 2001 From: Ilya Date: Tue, 8 Oct 2019 22:35:27 +0500 Subject: [PATCH 2/3] Address feedback --- .../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 a2029ec13eb..29580b467c5 100644 --- a/src/Microsoft.PowerShell.Commands.Diagnostics/resources/GetEventResources.resx +++ b/src/Microsoft.PowerShell.Commands.Diagnostics/resources/GetEventResources.resx @@ -253,7 +253,7 @@ The defined template is following: The following value is not in a valid DateTime format: {0}. - {1} To access the '{0}' log start PowerShell by using the "Run as Administrator" command. + {1} To access the '{0}' log start PowerShell with elevated user rights. Cannot retrieve event message text. From 93026df1d102d878c507e497f40dd6683e4910ee Mon Sep 17 00:00:00 2001 From: Ilya Date: Fri, 11 Oct 2019 23:29:58 +0500 Subject: [PATCH 3/3] Update src/Microsoft.PowerShell.Commands.Diagnostics/resources/GetEventResources.resx Co-Authored-By: Steve Lee --- .../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 29580b467c5..90f77bdc5aa 100644 --- a/src/Microsoft.PowerShell.Commands.Diagnostics/resources/GetEventResources.resx +++ b/src/Microsoft.PowerShell.Commands.Diagnostics/resources/GetEventResources.resx @@ -253,7 +253,7 @@ The defined template is following: The following value is not in a valid DateTime format: {0}. - {1} To access the '{0}' log start PowerShell with elevated user rights. + To access the '{0}' log start PowerShell with elevated user rights. Error: {1} Cannot retrieve event message text.