How to Shorten Your PowerShell Command Prompt

Introduction Are you tired of long, cluttered command prompts in PowerShell? By customizing your $PROFILE, you can shorten your prompt to display only the last folder in your path. This simple tweak makes your terminal cleaner and easier to read, especially when navigating deep directory structures. In this guide, we’ll walk you through the steps to … Read more

Converting Epoch Time in PowerShell: A Practical Guide

Understanding and working with Epoch time in PowerShell is essential when dealing with date and time operations in scenarios like JWT tokens, assertions, or system logs. This guide provides examples of how to manipulate Epoch time and convert it into human-readable formats using PowerShell. What Is Epoch Time? Epoch time, also known as Unix time, POSIX time, or Unix timestamp, … Read more

PowerShell Tip: Master PowerShell Cmdlet History with PSReadLine

PowerShell is a powerful tool for administrators and developers, but repetitive tasks can slow you down. By managing your cmdlet history and leveraging the features of PSReadLine, you can streamline your workflow, save time, and enhance productivity. This guide will walk you through practical tips and scenarios to make the most of PowerShell cmdlet history and … Read more

How to Add or Remove Delegated Consented Permissions Using PowerShell

Managing delegated permissions for applications in Microsoft environments is a critical task for administrators. This guide provides a Microsoft Graph PowerShell script to help you add or remove delegated permissions with greater granularity and control. Why Modify Delegated Permissions? Delegated permissions allow an application to act on behalf of a signed-in user. However, there are scenarios where … Read more