AWS Security ChangesHomeSearch

AWS code-library documentation change

Service: code-library · 2025-06-28 · Documentation low

File: code-library/latest/ug/codedeploy_example_codedeploy_BatchGetOnPremisesInstances_section.md

Summary

Added PowerShell V5 example for Get-CDOnPremiseInstanceBatch cmdlet

Security assessment

Documents operational instance information retrieval without security-specific context or features

Diff

diff --git a/code-library/latest/ug/codedeploy_example_codedeploy_BatchGetOnPremisesInstances_section.md b/code-library/latest/ug/codedeploy_example_codedeploy_BatchGetOnPremisesInstances_section.md
index 9490f551d..a1533568d 100644
--- a//code-library/latest/ug/codedeploy_example_codedeploy_BatchGetOnPremisesInstances_section.md
+++ b//code-library/latest/ug/codedeploy_example_codedeploy_BatchGetOnPremisesInstances_section.md
@@ -95,0 +96,31 @@ PowerShell
+**Tools for PowerShell V5**
+    
+
+**Example 1: This example gets information about the specified on-premises instances.**
+    
+    
+    Get-CDOnPremiseInstanceBatch -InstanceName AssetTag12010298EX, AssetTag12010298EX-2
+    
+
+**Output:**
+    
+    
+    DeregisterTime : 1/1/0001 12:00:00 AM
+    IamUserArn     : arn:aws:iam::80398EXAMPLE:user/CodeDeployFRWUser
+    InstanceArn    : arn:aws:codedeploy:us-east-1:80398EXAMPLE:instance/AssetTag12010298EX-2_XmeSz18rEX
+    InstanceName   : AssetTag12010298EX-2
+    RegisterTime   : 4/3/2015 6:38:52 PM
+    Tags           : {Name}
+    
+    DeregisterTime : 1/1/0001 12:00:00 AM
+    IamUserArn     : arn:aws:iam::80398EXAMPLE:user/CodeDeployDemoUser
+    InstanceArn    : arn:aws:codedeploy:us-east-1:80398EXAMPLE:instance/AssetTag12010298EX_rDH556dxEX
+    InstanceName   : AssetTag12010298EX
+    RegisterTime   : 4/3/2015 6:36:24 PM
+    Tags           : {Name}
+
+  * For API details, see [BatchGetOnPremisesInstances](https://docs.aws.amazon.com/powershell/v5/reference) in _AWS Tools for PowerShell Cmdlet Reference (V5)_. 
+
+
+
+