Tag: PowerShell

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

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

Did you know you can natively run scripts like PowerShell in Azure DevOps (AzDo) pipelines? By using the tips and techniques you’ll learn in this article, you’ll be well on your way to scripting your way to automation greatness.

Adam Bertram Avatar Adam Bertram

7 min. read

How to Apply DSC Configurations to VMs in Azure ARM Templates

If you're deploying Azure Windows virtual machines (VMs) via ARM templates and need to configure Windows, this article is for you. In this tutorial, you're going to learn how to use the Desired State Configuration (DSC) extension for ARM templates to seamlessly deploy and configure an Azure VM Scale Set with a single template.

Adam Bertram Avatar Adam Bertram

6 min. read

Managing Microsoft Exchange EDB Databases with PowerShell

Any system administrator responsible for a Microsoft Exchange environment will, most likely, at some point need to interact and troubleshoot Exchange Database (EDB) files. Mailbox databases are stored in the EDB file format. Contained within an EDB file are in-process and non-SMTP messages.

Adam Bertram Avatar Adam Bertram

4 min. read

Understanding Import-Csv and the ForEach Loop

Have you ever had to do the same task multiple times? Like, creating multiple Active Directory users one user at a time using the GUI? Or how about logging in to a server to delete old logs from some selected folders? If your answer is yes, then know you're not alone. Most admins have gone through the same laborious process.

June Castillote Avatar June Castillote

10 min. read

How to Build an Azure DevOps Pipeline for a PowerShell Module

You can build just about anything with PowerShell from teeny scripts to multi-hundred-line behemoths. But once you grow tired of creating PS1 script after PS1 script, you tend to start thinking reusable tools. In the PowerShell world, a tool usually goes hand in hand with a module.

Adam Bertram Avatar Adam Bertram

10 min. read

Export-CliXml and Import-CliXml: Saving Objects to XML

Learn how to use the Export-CliXml and Import-CliXml cmdlets and how CliXml format is different from the standard XML document format.

June Castillote Avatar June Castillote

9 min. read

How to Set Up an AWS Lambda PowerShell Function

If you'd like to leverage your PowerShell skills to your AWS Lambda functions, you're going to get a step-by-step tutorial in this article.

Michael Soule Avatar Michael Soule

8 min. read

Replacing Employee Onboarding Software with Power Automate [Tutorial]

Do you have a clunky, old employee onboarding software with a confusing interface and probably requires Java that your HR team hates to use? If so, it's time to learn how to rid yourself of your "onboarding solution" altogether with Power Automate (formerly known as Microsoft Flow).

Adam Bertram Avatar Adam Bertram

9 min. read

Back to Basics: The PowerShell Foreach Loop

Learn the different types of foreach loops available in PowerShell, and what to consider as to which one to use.

June Castillote Avatar June Castillote

9 min. read

How to Scour Office 365 Audit Logs for Suspicious Activity

This article will show you how you can use Hawk to automate site log collection and aid the search investigation.

Jeff Christman Avatar Jeff Christman

6 min. read

Running 64-bit PowerShell Scripts and Modules in Jenkins

Learn the different methods to execute 64-bit PowerShell scripts in Jenkins including using the Invoke-Command cmdlet.

June Castillote Avatar June Castillote

8 min. read

PowerShell: Getting (and Exporting) AD Group Members

A popular use of PowerShell is working with Active Directory Directory Services (AD). There are so many time-saving things PowerShell can do with AD objects. Using PowerShell get AD group members and groups saves a ton of time.

Adam Bertram Avatar Adam Bertram

7 min. read

PowerShell and Excel: Yes, They Work Together

Microsoft Excel is one of those ubiquitous tools most of us can't escape even if we tried. Many IT professionals use Excel as a little database storing tons of data in various automation routines. What's the best scenario of automation and Excel? PowerShell!

Adam Bertram Avatar Adam Bertram

5 min. read

Curl vs. PowerShell: Comparing Use Cases

Curl is a versatile tool that allows you to make HTTP calls across a wide range of situations. It's been around mostly in the Linux world for many years but more recently in Windows 10. But the scripting language PowerShell can accomplish similar tasks that curl can. Is PowerShell a good alternative to curl? What are the differences? Let's find out!

Devin Rich Avatar Devin Rich

8 min. read

How to Automate Finding Interesting Twitter Users

Are you on Twitter? If not, you're missing out. Twitter is the best social media platform to keep up with the fast pace of tech. But there are millions of people on Twitter. How do you track down interesting people? In this article, I'll show you how to do just at and automate it!

Adam Bertram Avatar Adam Bertram

7 min. read

Getting Started Running PowerShell Scripts in Jenkins

If you have been managing Windows servers for any length of time, you no doubt have a lot of PowerShell scripts to perform those mundane but necessary tasks you do regularly like resetting passwords, gather log data or archiving backup files.  You may have scripts that you run on a regular basis, maybe even set up a task scheduler event in an attempt to automate your PowerShell scripts.

Jeff Christman Avatar Jeff Christman

8 min. read

Getting Started with the Chocolatey Package Manager

If you're struggling with managing and maintaining software across your environment, you're in for a treat. In this article, you're going to learn all about the ubiquitous package management tool called Chocolatey. Whether you're building a DevOps pipeline, attempting to automate software deployments or an individual user wanted to speed up software installations, this article is for you.

Francisco Navarro Avatar Francisco Navarro

11 min. read

Understanding Mocking in Pester

If you want to ensure your PowerShell code is in tip-top shape, you need to be unit testing it. Pester is a popular unit-testing framework built for PowerShell code that allows you to ensure the code you write is as you expect and stays that way.

Adam Bertram Avatar Adam Bertram

3 min. read

How To Manage IIS Websites In PowerShell

If you manage Windows Servers, you've likely worked with Internet Information Services (IIS). Websites are one of IIS's main features and, using PowerShell, you can easily manage and automate IIS websites with ease!

Bill Kindle Avatar Bill Kindle

11 min. read

Subscribe to Adam the Automator

Get the latest posts delivered right to your inbox