How to Customize Your PowerShell Profile for Efficiency

Your PowerShell profile is a powerful tool that allows you to personalize and streamline your PowerShell experience. By adding custom functions to your profile, you can ensure they’re available every time you open a new session—without the need to create a module. This guide will walk you through setting up and optimizing your PowerShell profile. What is … Read more

How to Add a Virtual Network to Azure Storage Account Firewall Across Regions and Tenants

Adding a virtual network from another tenant to an Azure Storage account firewall is a common scenario for testing connectivity, sharing files securely, or enabling collaboration between partners. This ensures data access is restricted to specific networks without exposing the storage account to all networks. In this guide, we’ll focus on achieving this goal using PowerShell and Azure … 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

How to Enforce TLS 1.2 for Microsoft Cloud Applications and Microsoft Entra Connect

Transport Layer Security (TLS) 1.2 is a cryptographic protocol designed to provide secure communications by ensuring privacy and data integrity. Microsoft has made TLS 1.2 the minimum requirement for many cloud services, including Microsoft Entra Connect. This article provides step-by-step guidance to enforce TLS 1.2 for Microsoft Cloud applications, including ASP.NET apps, and for Microsoft … 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