PowerShell

LATEST

Cloud Computing

How to List All Users in Active Directory

Last Update: Nov 09, 2022

This article will offer you two straightforward ways to list and export all Active Directory users in your environment. I’ll show you how to do that using the graphical user interface (GUI) and the Active Directory Users and Computers applications, and I’ll also explain how you can narrow down the list using various filters available…

View Article

How to Quickly Create Active Directory Users in Bulk

Last Update: Nov 07, 2022

This is how you can quickly create hundreds or even thousands of Active Directory users with the help of PowerShell.

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

Use PowerShell to Fetch Account SignIn Data from the Graph

Last Update: Oct 19, 2022

Tracking Down Obsolete Accounts Last December, I wrote about how the problem of identifying obsolete guest accounts that exist in an Office 365 tenant. An increasing number of applications support Azure B2B Collaboration and create guest accounts to allow external people to access content. Teams is a great example, as are the sharing links used…

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

Working with Planner Data Through the Graph

Last Update: Oct 13, 2022

PowerShell has its Limitations I like using PowerShell to work with Office 365 data, but sometimes PowerShell isn’t the right tool. It might be too slow, or a PowerShell cmdlet isn’t available to work with some data. Planner is a good example. People have asked about reporting the plans available to a user or the…

View Article

Filtering PowerShell

Last Update: Oct 10, 2022

PowerShell is all about working with objects. Some commands can return hundreds if not thousands of objects and often you only really need small subset. To get the small subset, you need to perform some type of filtering.

View Article
PowerShell

Understanding PowerShell Objects

Last Update: Oct 10, 2022

One of the features that both makes PowerShell so easy to use yet sometimes difficult to learn is its focus on objects. I have taught PowerShell objects to many people over the last 10 years and this is not as difficult as people make it out to be. That is to say, I think many…

View Article

Filtering PowerShell with the Where Method

Last Update: Oct 10, 2022

PowerShell guru Jeff Hicks shows how to use the Where() method to do similar filtering tasks that you might use Where-Object for. In some cases, the Where() method does more.

View Article
Go to page