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.
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…
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…
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…
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.
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…
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…
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.
Last Update: Oct 19, 2022
PowerShell trainer Jeff Hicks wraps up his look at operators with some special cases.
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.