AWS Security ChangesHomeSearch

AWS code-library documentation change

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

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

Summary

Added PowerShell V5 example for unassigning private IP addresses

Security assessment

Documents network interface management without explicit security context or security feature implementation.

Diff

diff --git a/code-library/latest/ug/ec2_example_ec2_UnassignPrivateIpAddresses_section.md b/code-library/latest/ug/ec2_example_ec2_UnassignPrivateIpAddresses_section.md
index c655987ac..f562eabdd 100644
--- a//code-library/latest/ug/ec2_example_ec2_UnassignPrivateIpAddresses_section.md
+++ b//code-library/latest/ug/ec2_example_ec2_UnassignPrivateIpAddresses_section.md
@@ -48,0 +49,14 @@ PowerShell
+**Tools for PowerShell V5**
+    
+
+**Example 1: This example unassigns the specified private IP address from the specified network interface.**
+    
+    
+    Unregister-EC2PrivateIpAddress -NetworkInterfaceId eni-1a2b3c4d -PrivateIpAddress 10.0.0.82
+    
+
+  * For API details, see [UnassignPrivateIpAddresses](https://docs.aws.amazon.com/powershell/v5/reference) in _AWS Tools for PowerShell Cmdlet Reference (V5)_. 
+
+
+
+