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

Concatenate, Expand, Format and All Things PowerShell Strings

Strings in PowerShell are 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

14 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: Resolving DNS Records with 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: 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

How to Create Descriptive PowerShell 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

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 Build Office 365 Mailbox Size Reports 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

How To Manage Files Between Local And Azure Storage With AZCopy

Learn how to use AzCopy to transfer files between the local and Azure storage while using OAuth and Shared Access Signature Token.

June Castillote Avatar June Castillote

6 min. read

How to Download and Install the AZCopy Tool

Learn how to prepare your system to use AzCopy download. This also includes authenticating the tool to have access to Azure storage.

June Castillote Avatar June Castillote

5 min. read

How to Generate an Azure SAS Token to Access Storage Accounts

Learn how to create an Azure SAS token both via the Azure portal and via PowerShell to authenticate and authorize Azure storage management.

June Castillote Avatar June Castillote

4 min. read

Validating Parameters with PowerShell ValidateScript [Walkthrough]

Learn about one of the best ways to parameter input with the PowerShell ValidateScript validation attribute in this walkthrough!

June Castillote Avatar June Castillote

11 min. read

How To Build a Detailed Azure Usage Report with PowerShell

Learn how to create a PowerShell script to easily query resource usage with an Azure usage report across all of your Azure resources by date.

June Castillote Avatar June Castillote

9 min. read

The PowerShell WhatIf Parameter: Looking Before you Leap

Don't lie. You've done it before. We all have at some point in time. It doesn't have to be risky though when running PowerShell scripts in production. Just remember to use the built-in PowerShell WhatIf parameter!

June Castillote Avatar June Castillote

6 min. read

How to Set Up an Office 365 SMTP Relay with Connectors

Learn how to create a TLS and non-TLS Office 365 SMTP relay and how to test and confirm their functionality using different techniques.

June Castillote Avatar June Castillote

9 min. read

How to Send Email with Office 365 Direct Send and PowerShell

Did you know you can use Office 365 to send email with PowerShell? In this article, you're going to learn how to use Office 365's SMTP services to send mail with PowerShell's Send-MailMessage cmdlet.

June Castillote Avatar June Castillote

4 min. read

How to Build an IIS SMTP Relay Server

Learn how to set up an IIS SMTP relay server for recipient email delivery from Office 365 using a combination of the GUI and PowerShell.

June Castillote Avatar June Castillote

7 min. read

How to Build a PowerShell GUI for your Scripts

PowerShell is a command-line tool but did you know it can also be used as a base for graphical interfaces? Sometimes command-line isn't the best kind of interface for a particular instance. Building a PowerShell GUI for for your service desk is a great example. This is one of those times when it is more appropriate to build graphical tools instead.

June Castillote Avatar June Castillote

8 min. read