Contact Us

[email protected]

When working with bulk users via PowerShell, you’re free to collect, organize, and manipulate the data in whatever way works best for you. For example, if you need to gather a list of user objects and their properties, you can use one of the modules’ Get-* cmdlets. You can choose to store, view, or manipulate the data in a variety of ways—for example, saving it to a variable, displaying it to the console (screen), exporting it to a file, or passing the data through to another command.

PowerShell supports a processing concept called piping. Piping can be used to redirect the output of one command into another command. It can be used to process intermediary computations or steps without writing data to disk.

Let’s look at some common examples of how you might interact with one or more objects in bulk.

Retrieving user data

Let’s say you need to retrieve a list of all users in your organization that meet certain criteria (such as members of the Project Management department).