How To Find And Delete An Email From All Mailboxes In Office 365

Learn, step-by-step, how to use PowerShell to find and delete Office 365 email in lots of mailboxes at once.

June Castillote Avatar June Castillote

7 min. read

Getting Started with Microsoft Teams Shifts

Learn, hands-on, how to intelligently managing employee shifts with Microsoft Teams Shifts!

June Castillote Avatar June Castillote

12 min. read

How to Save and Recover BitLocker Recovery Keys

Learn how to save and recover Bitlocker recovery keys to/from files, USB drives, AD, Azure AD and more in this step-by-step tutorial.

June Castillote Avatar June Castillote

10 min. read

How to Restore an Office 365 Mailbox for Free

Learn how to restore an Office 365 mailbox with PowerShell in this step-by-step guide!

June Castillote Avatar June Castillote

8 min. read

The Easy Way to Join Microsoft Teams Meetings

Almost every type of organization is now adapting online or virtual meetings in place of face to face meetings. In the midst of the recent global pandemic (COVID19), even schools are shifting to online classes to keep the educational activities going.

June Castillote Avatar June Castillote

7 min. read

How to Import a PST in Office 365

When managing mail systems like Exchange Online, one of the tasks an admin can never avoid is importing PST data to Office 365. There's more than one way to import PST data to Office 365.

June Castillote Avatar June Castillote

11 min. read

How to Import a PST into Outlook

When working with Outlook, there will inevitably come a time when you'll need to import a PST. But, what is a PST? According to Microsoft, "An Outlook Data File (.pst) contains your messages and other Outlook items and is saved on your computer."

June Castillote Avatar June Castillote

7 min. read

Back to Basics: PowerShell Strings

The string data type is probably the most used data type in PowerShell. From displaying messages, prompting for input, or sending data to files, it is almost impossible to write scripts without strings being involved.

June Castillote Avatar June Castillote

15 min. read

Using PowerShell to Delete Files [All the Ways]

Maintaining free disk space is crucial when managing servers and systems. As admins, you wouldn't want to get caught unaware of a 'disk full' situation. We all know where that situation leads - dismounted database, stopped services, inaccessible website, and the list goes on.

June Castillote Avatar June Castillote

11 min. read

Back to Basics: Understanding the PowerShell Switch Statement

The concept of conditional logic in programming is not anything new. Conditional logic is a fancy term for first checking for a condition (if something happened) and then doing something as a result of that condition.

June Castillote Avatar June Castillote

10 min. read

How to Up your Game with PowerShell Try Catch Blocks

Have you ever run a script or a PowerShell cmdlet and get confronted with a screaming wall of text - in red - like the one shown below?

June Castillote Avatar June Castillote

9 min. read

Resolve-DnsName: Monitoring DNS Records using PowerShell

If you're managing web or mail servers, you know how heavily these servers rely on adequately configured DNS records. Missing DNS records can cause all sorts of problems, including users not being able to find your website or non-delivery of emails. It is a good thing that the PowerShell Resolve-DnsName cmdlet exists, and with it, monitoring DNS records can be automated through scripting.

June Castillote Avatar June Castillote

7 min. read

Back to Basics: Conditional Logic with PowerShell If-Else

Scripts can make decisions. How? By using a concept called conditional logic. This concept is important to understand clearly when writing PowerShell scripts.

June Castillote Avatar June Castillote

9 min. read

Back to Basics: The PowerShell For Loop

When you use PowerShell scripts to manage systems or process bulk tasks, you'll undoubtedly encounter the need to use a loop construct as part of your scripts. There are many types of loops available in PowerShell, and one of them is the for loop.  The PowerShell for loop can make running the same set of commands on multiple items quickly and produce consistent results.

June Castillote Avatar June Castillote

8 min. read

The PowerShell Block Comment (And Creating Descriptive Comments)

When a newcomer to PowerShell begins to write scripts, they typically focus on the code. After all, the code is what makes things happen! Executable code is obviously important, but what happens when you write so much code, you forget what it does? This is when PowerShell comments can come in.

June Castillote Avatar June Castillote

8 min. read

Understanding Import-Csv and the ForEach Loop

Have you ever had to do the same task multiple times? Like, creating multiple Active Directory users one user at a time using the GUI? Or how about logging in to a server to delete old logs from some selected folders? If your answer is yes, then know you're not alone. Most admins have gone through the same laborious process.

June Castillote Avatar June Castillote

10 min. read

Export-CliXml and Import-CliXml: Saving Objects to XML

Learn how to use the Export-CliXml and Import-CliXml cmdlets and how CliXml format is different from the standard XML document format.

June Castillote Avatar June Castillote

9 min. read

Back to Basics: The PowerShell Foreach Loop

Learn the different types of foreach loops available in PowerShell, and what to consider as to which one to use.

June Castillote Avatar June Castillote

9 min. read

How to Monitor for Large Office 365 Mailbox Size with PowerShell

Learn the basics of how to create a script to report on large mailboxes in Office 365 and the components of the script and its requirements.

June Castillote Avatar June Castillote

7 min. read

Running 64-bit PowerShell Scripts and Modules in Jenkins

Learn the different methods to execute 64-bit PowerShell scripts in Jenkins including using the Invoke-Command cmdlet.

June Castillote Avatar June Castillote

8 min. read

Subscribe to Adam the Automator

Get the latest posts delivered right to your inbox