Last Update: Oct 16, 2023
When you need to create files and folders on a Windows PC, using the GUI seems the most intuitive way to do it. However, PowerShell can intelligently create multiple files and folders in bulk. This is a pretty common task for almost any IT professional, and in this guide, we’ll show you how to create…
Last Update: Oct 16, 2023
In this article, I’ll explain how to use the PowerShell Where-Object cmdlet to filter objects and data. I’ll provide a series of easy examples showing you how to filter files by name or date, how to filter processes by status or CPU usage, and more. When using PowerShell, you will often receive an extremely large…
The Get-ChildItem PowerShell cmdlet is a powerful tool for listing files and folders in a variety of ways. In this blog post, we will explore the different features of the Get-ChildItem cmdlet and show you how to use it to get the most out of your PowerShell experience. What is Get-ChildItem? At a high level,…
Get-ADGroupMember is a useful PowerShell cmdlet for retrieving the members of Active Directory (AD) groups. In this article, we’ll delve into the capabilities of Get-ADGroupMember, explore its common parameters, and provide practical examples to showcase its power and versatility in managing your Active Directory environment. We’ll also touch on a related cmdlet – Get-ADGroup and…
Last Update: Oct 12, 2023
PowerShell Problem Solver Jeff Hicks demonstrates better techniques for get user account details from members of an Active Directory group.
Last Update: Aug 22, 2023
If you have Office 365 E5 licenses, your mailboxes generate MailItemsAccessed events. These events are stored in the Office 365 audit log and can be used for investigating potentially compromised mailboxes. Useful information is in the audit events, but some processing is needed to extract the full benefit. Here’s how to do it with PowerShell.
Last Update: Aug 22, 2023
Many Office 365 applications now create Azure Active Directory guest accounts. What’s the best way to discover if the accounts are active and in use? This PowerShell script uses the Office 365 audit log and message trace data to figure out what guest accounts are active and outputs a CSV file for your review and analysis. Like any other PowerShell script, it can be adapted to suit your purposes.
The PowerShell Get-MessageTrace command can help Office 365 admins track down the delivery and processing of email messages that may not be getting into their users’ mailboxes. In this article, I’ll show you how to use the Get-MessageTrace command to manage and analyze email message traces in Office 365. Using PowerShell Get-MessageTrace with Exchange Online…
Key Takeaways: Attention all IT Pros! Security researchers have unveiled three design flaws within the PowerShell Gallery, an online platform for distributing PowerShell code modules. These vulnerabilities have the potential to let malicious hackers upload harmful packages onto the repository, introducing risks such as typosquatting and supply chain attacks. Specifically, researchers at Aqua Nautilus first…
Last Update: Aug 02, 2023
PowerShell is a powerful scripting language for many reasons. One such reason is its support for conditional logic, which can help you supercharge your PowerShell scripts to make them even more efficient and effective. In this article, I’m going to teach you how to use If, Else, and Elseif conditional logic and explain how this…