PowerShell

How to Lock Down a Remote PowerShell with a Constrained Endpoint

In this Ask an Admin, learn to use constrained endpoints to allow users to connect remotely using PowerShell without granting administrative privileges.

Last Update: Sep 24, 2024

About PowerShell

PowerShell is a robust scripting language and command-line shell developed by Microsoft. Originally developed for Windows, it is now a cross-platform language. Serving as a task automation framework, PowerShell lets you manage and automate the administration of systems and processes. Using .NET objects and classes, it offers a lot of flexibility and functionality compared to traditional VBScript and DOS, scripting methods traditionally used on Windows.

Let the PowerShell category page be your guide to scripting excellence, as you enhance your skill set and optimize your workflow.

LATEST

Is PowerShell the Future of Windows Server Management?

Last Update: Sep 24, 2024

Are you giving PowerShell a fair shake? Read about PowerShell features that could help you with Windows Server management strategy.

View Article

How to Enable PowerShell Logging

Last Update: Sep 24, 2024

Defeat the default! Enable PowerShell logging using the command line or in Group Policy using the steps in this easy Ask an Admin.

View Article

Integrating Microsoft Excel with PowerShell: Build a Basic Report

Last Update: Sep 24, 2024

In the first of this three-part series, Jeff Hicks details how to integrate PowerShell with Microsoft Excel by exporting Excel files from PowerShell.

View Article
1725501059 powershell hero

PowerShell Classes – Your Ultimate Guide

Last Update: Sep 11, 2024

Take your PowerShell programming to a new level by learning how to use classes.

View Article
Cloud Computing

Windows Autopatch Adds PowerShell Scripts Support for Automated Policy Conflict Resolution

Microsoft has rolled out a new update that enables administrators to use PowerShell scripts with Windows Autopatch to resolve policy conflicts more efficiently. Windows Autopatch is a cloud-based service that helps organizations automate the update process for Windows, Microsoft 365 Apps for Enterprise, Microsoft Edge, and Microsoft Teams. What causes policy conflicts? Microsoft explains that…

View Article
PowerShell

Use a PowerShell Substring to Search Inside a String

Last Update: Sep 04, 2024

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

Test Network Connectivity with PowerShell Test-Connection

Last Update: Sep 04, 2024

In this article, I will show you how to test network connectivity between two endpoints using the PowerShell Test-Connection cmdlet. PowerShell Test-Connection vs Ping Since the first time computers were networked together, people have had to test their connections. Just like a dial tone that tells you the phone is ready to use, many IT…

View Article
PowerShell

Error Handling With PowerShell Try Catch Blocks

Last Update: Sep 04, 2024

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

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

Last Update: Sep 04, 2024

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
Go to page