Adam Bertram profile picture

Follow Adam

Adam Bertram

Petri Contributor

Entrepreneur, hustler, husband, dad, Automator, content producer, published author, Microsoft MVP, DevOps pro and passionate problem-solver.

LATEST

Consolidating File Servers with PowerShell and Robocopy

Last Update: May 03, 2022

File Servers – We all have them in one form or another. These servers tend to grow exponentially more critical than what we imagined when deploying them. They were also quite cumbersome to migrate until Microsoft released its Storage Migration Service. But there is one important scenario that it does not cover – consolidating multiple…

View Article

Using PowerShell Invoke-RestMethod and Invoke-WebRequest with REST APIs

Last Update: Apr 21, 2022

With the advent of cloud services, PowerShell is more important than ever. The Invoke-RestMethod and Invoke-WebRequest functions of PowerShell allow easy interactions with an API and aid in creating complex workflows.

View Article

How to Send an Email via MailGun API using PowerShell 7

Last Update: Apr 01, 2022

Mailgun is an email sending service that provides logging and an API to send emails. PowerShell is particularly strong in its ability to use REST API’s. There are many use cases for needing to send emails, but one of the most common is that of sending emails when scripts are completed. This may be for status updates or failures.

View Article

Understanding Character Encoding in PowerShell

Working with strings in PowerShell is core to many different operations. With strings come the many different encodings that can be used. Learning to manipulate, understand, and use those encodings can make working with documents of different languages and types much easier to do.

View Article

How to Use PowerShell to Change and Update the Registry

The Windows registry is complicated and can be difficult to work with. Using PowerShell, we can leverage many different ways to interact and work with the registry and make managing a system much easier.

View Article

How to Work with Services in PowerShell

How PowerShell can be used to work services in Windows using PowerShell

View Article

Understanding and Manipulating Dates and Time in PowerShell

Working with Dates and Times in PowerShell is very common. Many scripts require simple or complex date calculations for such things as archiving files or logic to determine what data to operate on.

View Article

How to Push Data via PowerShell to PowerBI

PowerBI has quickly become a top platform for data analytics within the Office 365 set of applications. With the ability to consume data from a variety of sources, manipulate, visualize, and publish that data, PowerBI stands out as an easy to use and powerful data visualization platform. With the ability to utilize PowerShell as a…

View Article

How to Create a PowerShell Powered Web Server Using Pode

Pode is a unique cross-platform PowerShell web server designed to host REST API’s, web sites, and TCP/SMTP servers. Support for templating languages, middleware, authentication, and SSL certificates. In this article, we explore creating a simple web site served via Pode and how a REST API server may be implemented. Installing Pode and Creating the First…

View Article

How to Use Acme.sh to Provision LetsEncrypt SSL Certificates

LetsEncrypt has changed the face of SSL certification issuance. Making it easy for website developers to freely and easily issue an SSL certificate, LetsEncrypt has opened the floodgate to properly securing every website.

View Article
Go to page