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

How to Create a Services List in PowerShell 7 on Linux

Last Update: Sep 04, 2024

Just like Windows, Linux has many running services that need proper management. With the advent of PowerShell 7 and it’s cross-platform ability, the idea of using PowerShell to manage Linux systems becomes more attractive.

View Article

How to Manage GIT with PowerShell 7 and Posh-GIT

Last Update: Sep 04, 2024

If you haven’t heard of Posh-GIT, it is a great module for assisting in managing your GIT repositories from within PowerShell. There is so much functionality in GIT that it can be hard, especially in a PowerShell oriented way, to use that functionality effectively. Using Posh-GIT, you are able to interact easily with GIT using…

View Article

How Pipeline Chain Operators Work in PowerShell 7

Last Update: Sep 04, 2024

PowerShell 7 has introduced a number of new abilities for the language. One of those abilities is the oft-requested pipeline chain operator. The PowerShell pipeline is a cornerstone of the language. Easily passing entire objects from one command to another is exceptionally useful.

View Article

How to Send a Microsoft Teams Message using PowerShell 7

Last Update: Sep 04, 2024

Microsoft Teams is up and coming in the world of business chat and collaboration clients. Much like Slack, Microsoft Teams offers many of the same tools and integration abilities; a key selling point of business-oriented chat clients is the interoperability that the clients offer.

View Article

How PowerShell 7 Logging works in Linux

With PowerShell 7 being cross-platform, the question often comes up of how logging works on Linux systems. Most PowerShell administrators are used to working in the Windows world and using the EventLog. Likewise, most Linux system administrators are used to Syslog and log files in general.

View Article

Understanding How Streams Work in PowerShell 7

Last Update: Sep 04, 2024

Much like Unix, PowerShell has the concept of streams. It’s important to understand how the flow of data output works within PowerShell. By leveraging the power of streams and their capabilities, you will be able to create better troubleshooting and more useful output.

View Article

Managing Common Linux Configuration Files with PowerShell 7

Last Update: Sep 04, 2024

PowerShell has been the default configuration tool for Windows since it’s release in 2006, but since being open-sourced in 2016, administrators can use it for Linux and macOS as well. However, there are some significant differences in how to manage a Windows operating system over a Linux operating system.

View Article

Managing Network Settings with PowerShell 7

Last Update: Sep 04, 2024

Built-in PowerShell 7 module NetTCPIP, on Windows, offers a range of functionality to update and manage your network interfaces. Many of the traditional IT administration tasks, such as setting a static IP address or DNS Server settings, are trivial using the functions within the NetTCPIP module.

View Article

Managing Files with PowerShell 7 on Linux

Last Update: Nov 19, 2024

Since Microsoft open-sourced PowerShell in 2016, running it on Linux has become not only easier but a core part of the PowerShell roadmap. With PowerShell 7 in development, the stated goal is to make PowerShell accessible from not only Windows but Mac and Linux.

View Article

How PowerShell Remoting Works in V7

Last Update: Sep 04, 2024

PowerShell on its own is a robust and versatile language that can help you accomplish any task at hand. Combine it with the ability to run remotely on other computers and it becomes unparalleled as a scripting language

View Article
PowerShell

Using Jobs in PowerShell 7

Last Update: Jul 17, 2023

PowerShell jobs are an integral part of PowerShell. This handy feature allows administrators to run commands asynchronously. Asynchronous commands allow for parallel execution cutting down on time and fully leveraging compute power.

View Article
PowerShell

Using the Ternary Conditional Operator in PowerShell 7

Last Update: Jun 05, 2025

PowerShell 7.0 introduces a familiar mainstay of most programming languages, the Ternary Operator. Using a much shorter syntax for if/then logic, it makes defining conditional values for properties much more concise and easy to read.

View Article
Go to page