AWS Security ChangesHomeSearch

AWS systems-manager documentation change

Service: systems-manager · 2025-06-25 · Documentation low

File: systems-manager/latest/userguide/example_ssm_GetMaintenanceWindowExecutionTask_section.md

Summary

Added PowerShell example for maintenance window task details

Security assessment

Routine example showing task execution status without security context or features.

Diff

diff --git a/systems-manager/latest/userguide/example_ssm_GetMaintenanceWindowExecutionTask_section.md b/systems-manager/latest/userguide/example_ssm_GetMaintenanceWindowExecutionTask_section.md
index d62263bc7..3cdd38eb2 100644
--- a//systems-manager/latest/userguide/example_ssm_GetMaintenanceWindowExecutionTask_section.md
+++ b//systems-manager/latest/userguide/example_ssm_GetMaintenanceWindowExecutionTask_section.md
@@ -119,0 +120,32 @@ PowerShell
+**Tools for PowerShell V5**
+    
+
+**Example 1: This example lists information about a task that was part of a maintenance window execution.**
+    
+    
+    Get-SSMMaintenanceWindowExecutionTask -TaskId "ac0c6ae1-daa3-4a89-832e-d384503b6586" -WindowExecutionId "518d5565-5969-4cca-8f0e-da3b2a638355"
+    
+
+**Output:**
+    
+    
+    EndTime           : 2/21/2017 4:00:35 PM
+    MaxConcurrency    : 1
+    MaxErrors         : 1
+    Priority          : 10
+    ServiceRole       : arn:aws:iam::123456789012:role/MaintenanceWindowsRole
+    StartTime         : 2/21/2017 4:00:34 PM
+    Status            : FAILED
+    StatusDetails     : The maximum error count was exceeded.
+    TaskArn           : AWS-RunShellScript
+    TaskExecutionId   : ac0c6ae1-daa3-4a89-832e-d384503b6586
+    TaskParameters    : {Amazon.Runtime.Internal.Util.AlwaysSendDictionary`2[System.String,Amazon.SimpleSystemsManagement.Model.MaintenanceWindowTaskPara
+                        meterValueExpression]}
+    Type              : RUN_COMMAND
+    WindowExecutionId : 518d5565-5969-4cca-8f0e-da3b2a638355
+
+  * For API details, see [GetMaintenanceWindowExecutionTask](https://docs.aws.amazon.com/powershell/v5/reference) in _AWS Tools for PowerShell Cmdlet Reference (V5)_. 
+
+
+
+