Back to Basics: PowerShell Strings

The string data type is probably the most used data type in PowerShell. From displaying messages, prompting for input, or sending data to files, it is almost impossible to write scripts without strings being involved.

June Castillote Avatar June Castillote

15 min. read

Using PowerShell to Delete Files [All the Ways]

Maintaining free disk space is crucial when managing servers and systems. As admins, you wouldn't want to get caught unaware of a 'disk full' situation. We all know where that situation leads - dismounted database, stopped services, inaccessible website, and the list goes on.

June Castillote Avatar June Castillote

11 min. read

Back to Basics: Understanding the PowerShell Switch Statement

The concept of conditional logic in programming is not anything new. Conditional logic is a fancy term for first checking for a condition (if something happened) and then doing something as a result of that condition.

June Castillote Avatar June Castillote

10 min. read

How to Up your Game with PowerShell Try Catch Blocks

Have you ever run a script or a PowerShell cmdlet and get confronted with a screaming wall of text - in red - like the one shown below?

June Castillote Avatar June Castillote

9 min. read

3 Tips to Build a 150,000-Reader/Month Technical Blog

Many engineers have blogs. If you're like me, you probably started up a blog to document the goings on in your job. Many of us start blogs for our own purposes as a way to record that obscure fix that worked in production or an interesting way to set up the latest software.

Adam Bertram Avatar Adam Bertram

3 min. read

Resolve-DnsName: Monitoring DNS Records using PowerShell

If you're managing web or mail servers, you know how heavily these servers rely on adequately configured DNS records. Missing DNS records can cause all sorts of problems, including users not being able to find your website or non-delivery of emails. It is a good thing that the PowerShell Resolve-DnsName cmdlet exists, and with it, monitoring DNS records can be automated through scripting.

June Castillote Avatar June Castillote

7 min. read

The Curse of Knowledge is Worse Than You Think

When you show someone how to solve a problem, acquire a new skill or accomplish a task, you're teaching. You're teaching that random Internet blog reader how to create a database, a coworker casually stopping by with that coding problem she can't figure out or even your son how to ride a bike.

Adam Bertram Avatar Adam Bertram

4 min. read

How to Write a Technical Blog Post People Actually Want to Read

Learn how to make technical blog post that will make reader interested.

Adam Bertram Avatar Adam Bertram

5 min. read

Infrastructure as Code: Where Continuous Delivery All Begins

If you've ever created kind of cloud or virtual infrastructure on-prem manually, you'd know there's either a lot of clicking or a lot of typing going on. To provision anything in requires remembering which screen to go to or what command to run. If you're just playing around trying to learn Azure that's fine but once that playing turns into business-critical, production processes where time is money, something has to change.

Adam Bertram Avatar Adam Bertram

3 min. read

Building Your First AWS Lambda Python Function

Learn how to create a working Lambda function and how to write the Python code necessary to make the Lambda function work.

Michael Levan Avatar Michael Levan

10 min. read

Getting Started using SSH with PowerShell

Know how to set up Windows' SSH client and get both Windows 10 and Windows Server set up to use SSH with PowerShell Remoting.

Adam Bertram Avatar Adam Bertram

5 min. read

Back to Basics: Conditional Logic with PowerShell If-Else

Scripts can make decisions. How? By using a concept called conditional logic. This concept is important to understand clearly when writing PowerShell scripts.

June Castillote Avatar June Castillote

9 min. read

How to Create an AWS Identity and Access Management User and Role

Learn the hands-on approach to create Identity and Access Management users and roles and create permissions so they can access AWS resources.

Michael Levan Avatar Michael Levan

6 min. read

How to Become a DevOps Engineer: My Story

Do you want to know how to become a DevOps engineer? It's possible and even probable if you stick to a few key areas.

Chris Blackden Avatar Chris Blackden

7 min. read

Deploying Infrastructure with AWS CLI and CloudFormation

Learn how to deploy AWS CLI and cloudformation and know its advantages over manual provisioning of infrastructure.

Adam Bertram Avatar Adam Bertram

5 min. read

How to Create an AWS EC2 Instance

Learn how to get started with AWS EC2 through the EC2 Instance wizard on the AWS Management Console to have standard EC2 instance.

Michael Levan Avatar Michael Levan

5 min. read

Back to Basics: The PowerShell For Loop

When you use PowerShell scripts to manage systems or process bulk tasks, you'll undoubtedly encounter the need to use a loop construct as part of your scripts. There are many types of loops available in PowerShell, and one of them is the for loop.  The PowerShell for loop can make running the same set of commands on multiple items quickly and produce consistent results.

June Castillote Avatar June Castillote

8 min. read

The PowerShell Block Comment (And Creating Descriptive Comments)

When a newcomer to PowerShell begins to write scripts, they typically focus on the code. After all, the code is what makes things happen! Executable code is obviously important, but what happens when you write so much code, you forget what it does? This is when PowerShell comments can come in.

June Castillote Avatar June Castillote

8 min. read

Running PowerShell Scripts in Azure DevOps Pipelines (2 of 2)

No one product will ever provide all of the built-in tools you need to get the job done. Scripts are like the glue that brings workflows together and the shims that make solutions work. in Azure DevOps (AzDo) Pipelines, PowerShell and Bash scripts are your best friends.

Adam Bertram Avatar Adam Bertram

11 min. read

Building a PowerShell CI/CDP Pipeline in Azure DevOps Pipelines (1 of 2)

Learn about executing scripts in Azure Pipelines. Know basics of how Azure Pipelines invokes PowerShell scripts.

Adam Bertram Avatar Adam Bertram

7 min. read

Subscribe to Adam the Automator

Get the latest posts delivered right to your inbox