PowerShell

LATEST

Why You Need to Learn PowerShell

Last Update: Sep 07, 2022

Learn PowerShell to reduce the time it takes to deploy entire Windows Server environments, on site or in the cloud, from hours to mere minutes.

View Article
PowerShell

Use a PowerShell Substring to Search Inside a String

Need to search for a string inside a string? Never fear, PowerShell substring is here! In this article, I guide you through how to ditch objects and search inside strings. The PowerShell substring I love being on social media because I always come across something interesting related to PowerShell. Sometimes it is a trick I…

View Article
PowerShell

How to Use PowerShell Grep: Select-String and RegEx Real World Examples

Last Update: Aug 11, 2022

Grep (Global Regular Expression Print) is a commonly used Linux command for searching strings of characters in text files. There’s is no such thing as PowerShell grep. But naturally, you can get the same functionality in PowerShell. You’ll just need to use the Select-String cmdlet instead. In this article, I’ll show you how to get…

View Article

PowerShell Problem Solver: PowerShell String Parsing with Named Captures and REGEX

Last Update: Aug 11, 2022

PowerShell MVP Jeff Hicks shows us how to achieve PowerShell string parsing with named captures and REGEX.

View Article

Managing Network Settings with PowerShell 7

Last Update: Aug 09, 2022

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

Using Conditional Breakpoints in PowerShell Scripts

Last Update: Aug 08, 2022

Understand how to use conditional breakpoints in PowerShell to test and debug different scripts and functions.

View Article
PowerShell

Error Handling With PowerShell Try Catch Blocks

Windows PowerShell has a robust error handling capability with PowerShell try catch blocks. And PowerShell 7 introduced new features, making troubleshooting even easier. In this article, I will show you how to use PowerShell’s built-in error handling features to help debug your scripts when there are problems. Understanding PowerShell Try Catch error handling First, it…

View Article
PowerShell

Understanding the PowerShell 7 Error Variable

Last Update: Aug 05, 2022

As with any programming language, code will have errors and troubleshooting those problems can be difficult. Thankfully, PowerShell has a rich error object and several powerful tools to help debug your code. With PowerShell 7, these tools become even more useful and error handling even easier. As the language evolves and becomes used in more…

View Article

Search XML files with PowerShell using Select-XML

Last Update: Aug 02, 2022

Michael Simmons demonstrates how to easily search XML files using PowerShell and the helpful Select-XML cmdlet.

View Article

How To Search the Windows Event Log with PowerShell

Last Update: Aug 02, 2022

PowerShell offers native cmdlets that allow you to quickly search for just what you want to find in the Windows Event Log. The ability to filter results and return just what is needed helps to focus your troubleshooting efforts in just the right place.

View Article
Go to page