PowerShell

LATEST

PowerShell

How to Use the PowerShell Exit Keyword to Terminate Scripts

Last Update: Jul 31, 2023

PowerShell’s built-in exit keyword allows you to terminate scripts without closing your PowerShell session. There are different ways to use PowerShell exit to break the execution of a script, function, loop, or switch statement. But it’s important to understand how the exit keyword works if you want to use it effectively. In this guide, I…

View Article
PowerShell

Use PowerShell Functions to Quickly Simplify Your Scripts

Last Update: Jul 31, 2023

Are you creating PowerShell scripts for the first time? One important skill to master is how to write PowerShell functions, which work as a block of code that you can easily reuse. In this article, you will learn about the basics of building your first function and how to call it when you need it….

View Article

Why You Should Use the Exchange Online PowerShell Module

Last Update: Jul 24, 2023

Why you should use the EXOv2 PowerShell module and how it can benefit you as an Office365 administrator.

View Article

Remove Stale Computer Accounts from Active Directory Using PowerShell

Last Update: Jul 21, 2023

Search for and remove inactive users and computer accounts and query Active Directory – all by using PowerShell. Find out how in this handy post!

View Article
PowerShell

Using Jobs in PowerShell 7

Last Update: Jul 17, 2023

PowerShell jobs are an integral part of PowerShell. This handy feature allows administrators to run commands asynchronously. Asynchronous commands allow for parallel execution cutting down on time and fully leveraging compute power.

View Article
PowerShell

How to Upgrade to PowerShell 7

Last Update: Jul 17, 2023

Looking to upgrade to PowerShell 7? Here’s the easy way to move to the new version of the platform.

View Article

Analyzing Azure Active Directory Sign-In Data with PowerShell

Last Update: Jul 17, 2023

AzureADPreview Module Gives Insight into Sign-in Data The Azure Active Directory (recently renamed Microsoft Entra ID) PowerShell module (now renamed the Azure Active Directory PowerShell for Graph module) comes in two versions. The general availability version is intended for production while the preview version (AzureADPreview) contains the cmdlets from the general availability version plus some…

View Article
PowerShell

How to Check Your PowerShell Version

Last Update: Jun 15, 2023

Whether you’re a PowerShell pro or just starting out, it’s useful to know how to check your PowerShell version. We’ll explain how to do that in this guide. How to check your PowerShell version Let’s quickly check the version of PowerShell installed on your device: For more details on the different ways to check the…

View Article

Creating PowerShell Function Failsafes with WhatIf

Last Update: Apr 17, 2023

PowerShell function that supports the WhatIf parameter and how you can use it to make your PowerShell functions even more solid

View Article

Anatomy of a PowerShell Advanced Function

Last Update: Apr 17, 2023

PowerShell advanced functions provide modularity in automating system administration tasks and by structuring PowerShell scripts as advanced functions, you can transform your scripts and functions into reusable tools.

View Article
Go to page