Mike Kanakos profile picture

Follow Mike

Mike Kanakos

Petri Contributor

Mike Kanakos is a 5-time Microsoft MVP (PowerShell) and Manager of the Enterprise Identity and Access Services team at Invisalign, where he leads an engineering team that specializes in enterprise identity and access management and automation.

Mike is an active PowerShell community member and tech blogger who writes about PowerShell, cloud services, and automation on his blog at https://commandline.ninja. He also leads the Research Triangle PowerShell Users Group (https://rtpsug.com).

Besides being a Microsoft MVP, Mike is an active PowerShell community member and tech blogger who writes about PowerShell, Cloud services, and automation on his blog (see link below).

He leads the Research Triangle PowerShell Users Group (https://rtpsug.com) and also serves as Director of Community Engagement for PowerShell.org (https://PowerShell.org).

LATEST

PowerShell

How to Run PowerShell Scripts: A Complete Guide

This guide covers how to run PowerShell scripts: everything from basic script execution to remote operations, parameter passing, and troubleshooting. PowerShell is useful for automating administrative tasks, but before you can run PowerShell scripts, you need to understand the mechanisms that control script execution. The core concepts stay constant whether you are running a basic…

View Article
PowerShell

Microsoft Graph Explorer PowerShell: Simplifying API Calls with Code Snippets

Microsoft Graph Explorer PowerShell code snippets help you quickly adopt the Graph API. Let’s look at how you can generate PowerShell code in Microsoft Graph Explorer. Microsoft Graph Explorer PowerShell code snippets Nowadays, administrators are working more frequently with cloud platforms and difficult APIs to retrieve information. For PowerShell administrators, the change from commands like…

View Article
Windows 11 2022 Update

How to Check Windows 11 Upgrade Readiness Using a PowerShell Script

PowerShell is a command-line language designed to automate the management of Windows systems, and it excels at pulling system-level details from local or remote machines. With PowerShell, IT teams can quickly gather compliance data from hundreds of PCs, generate reports, and build repeatable workflows that scale. In this article, I’ll show you how to check…

View Article
PowerShell

PowerShell Set Environment Variable – A Step-By-Step Guide

Last Update: May 05, 2025

Environment variables are essential for accessing command line tools and controlling program execution in operating systems. In Windows, PowerShell provides a convenient way to manage and access environment variables. You can set the environment path, edit existing paths, and handle the user profile on your computer. In this step-by-step guide, we’ll explore what environment variables…

View Article
PowerShell

What is PowerShell and How to Get Started With It?

Last Update: Apr 30, 2025

PowerShell is a cross-platform object-oriented language and shell that IT pros can use to manage computers running Windows, Linux, and macOS. PowerShell can automate tasks across thousands of computers simultaneously. If you’ve ever wondered what PowerShell is and what it’s for, this article aims to answer some of the most common questions you may have…

View Article
PowerShell

Error Handling With PowerShell Try Catch Blocks

Last Update: Dec 17, 2025

Windows PowerShell has a robust error handling capability with PowerShell try catch blocks. And PowerShell 7 introduced new features, making troubleshooting even easier. In this article, I will show you how to use PowerShell’s built-in error handling features to help debug your scripts when there are problems. Introduction to the PowerShell Try Catch Block Try…

View Article
PowerShell

How to Create Files and Folders with PowerShell

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…

View Article