How Pipeline Chain Operators Work in PowerShell 7


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.

The post How Pipeline Chain Operators Work in PowerShell 7 appeared first on Petri.

Continue reading How Pipeline Chain Operators Work in PowerShell 7

Understanding How Streams Work in PowerShell 7


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.

The post Understanding How Streams Work in PowerShell 7 appeared first on Petri.

Continue reading Understanding How Streams Work in PowerShell 7

Managing Common Linux Configuration Files with PowerShell 7


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.

The post Managing Common Linux Configuration Files with PowerShell 7 appeared first on Petri.

Continue reading Managing Common Linux Configuration Files with PowerShell 7

Managing Network Settings with PowerShell 7


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.

The post Managing Network Settings with PowerShell 7 appeared first on Petri.

Continue reading Managing Network Settings with PowerShell 7

How Error Handling Works in PowerShell 7

How Error Handling Works in PowerShell 7 Among the many exciting features being introduced by PowerShell 7, there is a lot of new error display functionality as well! PowerShell already has a robust error handling capability and with these new features, it makes troubleshooting that much easier. Understanding Errors within PowerShell First, it helps to […]

The post How Error Handling Works in PowerShell 7 appeared first on Petri.

Continue reading How Error Handling Works in PowerShell 7

Managing Files with PowerShell 7 on Linux


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.

The post Managing Files with PowerShell 7 on Linux appeared first on Petri.

Continue reading Managing Files with PowerShell 7 on Linux