PowerShell

Use PowerShell to request a public certificate from AWS Certificate Manager

In this blog, I will demonstrate how to request a public certificate from AWS Certificate Manager using PowerShell, utilizing DNS validation for verification. Additionally, I will show how to request multiple certificates within the same profile and region, as well as how to request certificates from a list saved in a CSV file.

By Saad Khamis August 1, 2024 AWS , Cloud , PowerShell 13957 views

List all AWS Certificate Manager certificates

In this blog, I will share a script to list all AWS Certificate Manager (ACM) certificates across all profiles and regions. This script will include details such as the certificate domain, type, expiration date, and associated resources (InUseBy). You can choose to display the results, export them to a file, or both.

By Saad Khamis July 31, 2024 AWS , Cloud , PowerShell 14085 views

Get all AWS EBS snapshots across all profiles and regions

I will share a script to retrieve all AWS EBS snapshots across all profiles and regions, along with associated volume and EC2 information where available. You can choose to display the results, export them to a file, or both.

By Saad Khamis June 26, 2024 AWS , Backup , Cloud , PowerShell 18443 views

AWS IAM role is not listed in the IAM roles dropdown menu for EC2

In this blog, we will delve into a comprehensive solution to to resolve the issue of an AWS IAM role is not listed in the IAM roles dropdown menu for EC2.

By Saad Khamis June 25, 2024 AWS , PowerShell 18276 views

Get all AWS Backup recovery points grouped by resource name across all profiles and regions

In this blog I will share one way to get all AWS Backup recovery points grouped by resource name across all profiles and regions including backup vault name, resource name, resource type and recovery points count.

By Saad Khamis June 14, 2024 AWS , PowerShell 19716 views

Get all AWS EC2 instances across all profiles and regions

In this blog I will share one way to get all AWS EC2 instances across all profiles and regions including instance’s Id, name, state, private & public IPs and other instance information. I will show how to calculate the instance’s name and state (running, stopped, etc.) The result can be displayed or saved to a file.

By Saad Khamis November 27, 2023 AWS , PowerShell 33194 views

Get all AWS Backup protected resources across all profiles and regions

Would you like to know resources protected by AWS Backup?
In this blog, I will share one way to get all AWS Backup protected resources across all profiles and regions. Additionally, I will show how to query the backed-up EC2 state and the Backup tag.

By Saad Khamis November 17, 2023 AWS , Backup , Cloud , PowerShell 33565 views

Windows – Get all installed patches, updates and hotfixes

In this blog I will share one way to get all installed patches, updates and hotfixes on a local or a remote Windows workstation or server.

By Saad Khamis October 25, 2023 Azure , PowerShell , Windows 36251 views

Azure – Get Storage Account Lifecycle Management Policy Rules

Get Azure Storage Account Lifecycle Management Policy Rules.

By Saad Khamis October 12, 2023 Azure , PowerShell , Storage 44653 views

Windows – Find built-in administrator account name and disable it

Introduction We will find the built-in administrator account name, even if it was renamed, and disable it. When Windows workstation or server is installed, the default built-in administrator account name is Administrator. Some companies rename the local built-in administrator account, …

By Saad Khamis December 14, 2022 PowerShell , Windows 41537 views