PowerShell

LATEST

Active Directory with PowerShell, ADSI, and LDAP

Last Update: Feb 13, 2023

This is series of articles about managing Active Directory with PowerShell. This one particularly focuses on using the LDAP moniker.

View Article
PowerShell

Get-AdUser: How to Audit Active Directory Users with PowerShell

Last Update: Jan 30, 2023

PowerShell is an essential tool for IT admins, and it makes it easy to audit Active Directory user accounts with the Get-AdUser command. In this guide, we’re going to detail how to get started with the popular Active Directory cdmdlet.  Introduction to the Get-AdUser PowerShell cmdlet The Get-AdUser cmdlet is one of the most popular Active…

View Article
PowerShell

How to Create Conditional Access Policies using PowerShell

When working in a Microsoft 365 environment, IT pros can use Conditional Access policies to control access to their tenant. In this article, we’ll detail how to create Conditional Access policies using PowerShell instead of the graphical user interface, and why using PowerShell to do that can help you save some time Conditional Access policies…

View Article
PowerShell

Microsoft Releases PowerShell Crescendo 1.1.0-preview01

Microsoft has announced the release of PowerShell Crescendo 1.1.0-preview01. The latest version brings error-handling improvements, a new schema, argument value transformation support, a new way to bypass the output handler, and more. PowerShell Crescendo is a popular platform that helps to create PowerShell cmdlets for command line applications. It improves the original command-line experience with…

View Article

Managing Common Linux Configuration Files with PowerShell 7

Last Update: Dec 05, 2022

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
PowerShell

How to Use a PowerShell Foreach Loop

The PowerShell Foreach statement is useful when working with collections of items. It can be used to execute a command or a set of commands for each item in a collection. In this article, I will explain three different ways to use the Foreach keyword: the Foreach loop, the ForEach object cmdlet, and the ForEach…

View Article
PowerShell

How to Use a PowerShell Array

Last Update: Oct 24, 2022

A PowerShell array is a data structure designed to store an item or a collection of items. These item types can be the same or of varying types. In this article, we’ll explain how PowerShell arrays work, how to use an array of objects, and everything you need to know about PowerShell arrays to become…

View Article

Understanding and Using the PowerShell 7 ForEach Parallel Option

Last Update: Oct 24, 2022

Loops are one of those crucial logic components that every programming language uses extensively and PowerShell is by no means any different. A loop allows you to iterate through a collection of objects performing one or more operations on each.

View Article

A Primer on Special PowerShell Operators

Last Update: Oct 19, 2022

PowerShell trainer Jeff Hicks wraps up his look at operators with some special cases.

View Article

Getting Started with PSCustomObject in PowerShell

Last Update: Oct 19, 2022

When you need to store data in a structured format that can be extended upon, or in a more ordered fashion, PSCustomObject is the tool for the job.

View Article
Go to page