Adam Bertram avatar

PowerShell 101: Creating a Real-World Module: Scaffolding Functions

13 hours ago | Adam Bertram

Learn how to create powerful PowerShell modules from scratch by building a computer inventory tool. Perfect for sysadmins who need custom automation solutions.

Adam Bertram avatar

PowerShell 101: Finding and Installing New Modules

2 days ago | Adam Bertram

Learn how to find, install, verify and remove PowerShell modules efficiently. Master module management to enhance your PowerShell automation capabilities.

Daniel Bradley avatar

Restore Microsoft 365 users with a new username using PowerShell

2 days ago | Daniel Bradley

Learn how to use Microsoft Graph PowerShell to restore Microsoft Entra users and issue them a new username at the same time. The post Restore Microsoft 365 users with a new username using PowerShell appeared first on Our Cloud Network.

Harm Veenstra avatar

PowerShell v7.5.0 RC1

4 days ago | Harm Veenstra

The Release Candidate (RC) was first released in November 2024. Even though it's an RC, it's considered a “go-live” release, meaning it’s a supported release in production. In this blog post, I will give you more details on how to install it.

Adam Bertram avatar

PowerShell 101: Importing Modules

4 days ago | Adam Bertram

Learn how to manage PowerShell modules like a pro! From importing and removing modules to troubleshooting common issues, master PowerShell modules in this complete guide.

Dan Tsekhanskiy avatar

Useful PowerShell One-Liners

4 years ago | Dan Tsekhanskiy

Is this about comedy? Objective Prerequisites Background PowerShell One-Liners Time of the Last Reboot Find Your Public IP Address Find Domain Controllers on Your Domain List Software Available for Uninstall Install PowerShell Core (6 and 7) Get Free Space for System Drive Get Parent Process(es) List Subdirectories in the Current Directory List Started Services Tail a File Port Scanner Common WMI (CIM) Queries Get Time Until Next Year Cat Facts Get a Random XKCD Comic Conclusion Related Links Objective This post aims to document some useful one-liners I’ve come across as part of everyday usage of PowerShell.

Shane O'Neill avatar

T-SQL Tuesday #182 – Integrity

7 days ago | Shane O'Neill

Time to read: ~ 3 minutesWords: 531 words Welcome to T-SQL Tuesday, the monthly blogging party where we are given a topic and have to talk about it. Today, we have Rob Farley ( blog | bluesky ), talking about integrity. I’ll admit that it’s been a while since I’ve written a blog post. It’s … Continue reading "T-SQL Tuesday #182 – Integrity"

Daniel Bradley avatar

List all directory objects owned by a user in Entra with PowerShell

7 days ago | Daniel Bradley

Learn how to use Microsoft Graph PowerShell to list all directory objects, such as apps and groups a user owns in Microsoft Entra. The post List all directory objects owned by a user in Entra with PowerShell appeared first on Our Cloud Network.

Harm Veenstra avatar

Show expiring local Certificates using PowerShell

11 days ago | Harm Veenstra

You always use certificates but forget when they expire until it's too late. In this blog post, I will show you how to use a small script when starting a PowerShell session to display certificates about to expire on your Windows system.

Adam Bertram avatar

PowerShell Modules: A Beginner’s Guide to Extending Functionality

11 days ago | Adam Bertram

Learn how PowerShell modules work, where to find them, and how to use them effectively. Master the building blocks that unlock PowerShell's automation potential.

Run Data Access Governance reports with PowerShell

11 days ago

How to run Data Access Governance reports for SharePoint Advanced Management in PowerShell

PowerShell in Azure: Adding Tags & Setting Location Restrictions

11 days ago

In this tutorial, learn how to create and apply tags to Azure resources and enforce a location restriction policy using PowerShell. Effective resource tagging helps you organise and manage your Azure environment, while location restriction policies ensure compliance with regional regulations. (+)(-)

PowerShell + DevOps Global Summit 2025

11 days ago

April 7-10, 2025 Bellevue, WA

A little PowerShell humor

11 days ago

I think we can all agree

Using PowerShell to make bulk changes to DotNet .csproj files

11 days ago

When working on a big DotNet team, it's easy to create a library but forget to set a configuration property according to your team's standards. Most people don't spend a lot of time looking at their... (+)(-)

A PowerShell Teaser

11 days ago

Somewhat ironically, since finishing our long series on Bash scripting I've been almost exclusively writing scripts in a completely different language, PowerShell! Being a Microsoft language you'd be forgiven for assuming that means I've moved to Windows and started trying to automate things there, but you'd be mistaken, I'm still very much a Mac user! So what gives? Despite what its origins may suggest, the core PowerShell environment is both open source and cross-platform, running just fine on the Mac and Linux as well as Windows.

Guillaume Blin avatar

Powershell - Display network connections (equivalent to netstat)

11 days ago | Guillaume Blin

Display network connections (listening ports, active connections...)

Maciej Horbacz avatar

Built-in Local Administrator Mysteries

12 days ago | Maciej Horbacz

Introduction The built-in Local Administrator account on Windows systems is a critical yet often misunderstood feature that plays a key role in system administration. It provides essential system management capabilities, yet its behavior and implications are frequently overlooked. This blog post aims to demystify the Local Administrator account, uncover its hidden quirks, and offer practical tips to manage it effectively.

Adam Bertram avatar

PowerShell Pester 101: A Practical Guide for Beginners

12 days ago | Adam Bertram

Learn how to validate your PowerShell scripts with Pester testing. This hands-on guide shows you how to write tests that ensure your code works as intended.

Adam Bertram avatar

How to Fix PowerShell’s Double-Hop Problem: A Complete Guide

13 days ago | Adam Bertram

Learn how to overcome PowerShell's double-hop authentication limitation with session configurations. This guide shows you practical solutions for remote access problems.

Adam Bertram avatar

Master PowerShell Remote Sessions: Interactive & Persistent Access

14 days ago | Adam Bertram

Learn to manage Windows systems remotely using PowerShell interactive sessions from basic interactive connections to persistent sessions.

Faris Malaeb avatar

High Volume Email in Exchange Online: A Comprehensive Guide

16 days ago | Faris Malaeb

For businesses that need to send a significant number of emails—whether for marketing campaigns, transactional notifications, or internal alerts—Microsoft offers a specialized feature known as High Volume Email (HVE). This feature allows organizations to surpass standard sending limits, ensuring smooth operations for high-demand scenarios. In this blog post, we will explore High Volume Email in... The post High Volume Email in Exchange Online: A Comprehensive Guide appeared first on Faris Malaeb.

Harm Veenstra avatar

2024 Overview

18 days ago | Harm Veenstra

It's 2025, so it's time to reflect on 2024 :). In this blog post, I will highlight all the great PowerShell things that happened during the year.

Adam Bertram avatar

PowerShell Reusable Sessions: A Guide to Persistent Remote Connections

19 days ago | Adam Bertram

Learn how to leverage PowerShell reusable sessions to maintain persistent connections with remote systems. This tutorial shows you how to create, manage and effectively use PowerShell sessions for remote administration.

Adam Bertram avatar

PowerShell Remoting: Execute Remote Commands Like A Pro

20 days ago | Adam Bertram

Learn how to harness PowerShell Remoting to execute commands and scripts on remote systems in an Active Directory environment. This tutorial covers everything from setup to passing variables between sessions.

Bradley Wyatt avatar

Automated Deployment of a Zero Trust Azure Automation Environment

22 days ago | Bradley Wyatt

Overview A common and recommended security practice is only allowing access to an Azure Storage Account via a whitelisted IP address. While this is generally a good idea, a problem arises when you need an Azure Automation Account to access one of these Storage Accounts. Currently, even if you whitelist an entire Azure region, your automation runbook will fail to connect to your Storage Account. Instead, you must use an Azure Private Link to connect Azure Automation to your PaaS Azure Resources securely, but “in the current implementation of Private Link, Automation account cloud jobs cannot access Azure resources that are secured using private endpoint.

Harm Veenstra avatar

Using Get-Command in PowerShell

25 days ago | Harm Veenstra

Something that I use very often is Get-Command. It shows you what module the cmdlet is from, what cmdlets a module has, etc. In this last blog post of 2024, I will show you how it works :)

Faris Malaeb avatar

Fixing EDB File Corruption in Microsoft Exchange

27 days ago | Faris Malaeb

Microsoft Exchange is one of the oldest and most renowned email servers used to share necessary data. It uses EDB files to save data. With the transformation in new generations, the EDB file formats have also evolved to improve file management systems in the Exchange Server.  Nevertheless, corruption in these files can bring the entire... The post Fixing EDB File Corruption in Microsoft Exchange appeared first on Faris Malaeb.

Guillaume Blin avatar

Powershell - Testing name resolution (equivalent to nslookup)

28 days ago | Guillaume Blin

Powershell commands to test name resolution (equivalent to nslookup)

Harm Veenstra avatar

Validate list of Email Addresses using PowerShell

one month ago | Harm Veenstra

What if you have an extensive list of email addresses? And if you must validate them for syntax and check if there's an email server for that domain? PowerShell is your friend :) In this blog post, I will show you how to import, validate, and export the results of those email addresses.

Guillaume Blin avatar

Powershell - View and manage DNS configuration of network interfaces

one month ago | Guillaume Blin

Powershell commands to display and manage DNS configuration of network interfaces

Harm Veenstra avatar

PowerShell Function for the cmd.ms website

one month ago | Harm Veenstra

I'm a big fan of the cmd.ms website because it has all the links to quickly jump to a specific blade in a portal instead of clicking multiple parts of a Microsoft Management portal to get there. In this blog post, I will show you how to use a PowerShell function to open one or multiple management websites from the command line.

Matthew Dowst avatar

PowerShell Collaboration Unleashed: Setting Up The Littlest JupyterHub

one month ago | Matthew Dowst

This post is an accompanying post for the JupyterHub Install with PowerShell Notebooks video that is part of the PowerShell Collaboration Unleashed series.

Matthew Dowst avatar

PowerShell Collaboration Unleashed: VM Setup for The Littlest JupyterHub

one month ago | Matthew Dowst

This post is an accompanying post for the VM Setup video that is part of the PowerShell Collaboration Unleashed series.

Guillaume Blin avatar

Powershell - Managing IP configuration of network interfaces

one month ago | Guillaume Blin

Powershell commands to view and modify the IP configuration of network interfaces

Paolo Frigo avatar

How to compare all files in two folders using PowerShell

one month ago | Paolo Frigo

When I am investigating or troubleshooting any issue, I always hope to have access to any log,  source control, build artifacts, and pipelines. However, some scenarios are not related to software development where the only resources that I have immediate access to are folders and the files contained, and also the same ones but from … Continue reading "How to compare all files in two folders using PowerShell" The post How to compare all files in two folders using PowerShell first appeared on Scripting Library.

Daniel Bradley avatar

Report Copilot user prompts and AI responses with PowerShell

one month ago | Daniel Bradley

Report a history of user prompts and the AI responses from Microsoft 365 Copilot using Microsoft Graph PowerShell. The post Report Copilot user prompts and AI responses with PowerShell appeared first on Our Cloud Network.

Harm Veenstra avatar

The PowerShellSaturday Karlsruhe event (30-11-2024) #PSSaturdayKA

one month ago | Harm Veenstra

The PSSaturday event in Karlsruhe took place on November 30th, 2024; in this blog post, I will share some highlights of the event, including my session :).

Harm Veenstra avatar

Using the PowerShell WinGet module

one month ago | Harm Veenstra

In March 2023, I wrote a blog post about the Preview version of the WinGet module. Since then, it has undergone many updates, and in this (long) blog post, I will show you how to use Microsoft.WinGet.client PowerShell Module.

Daniel Bradley avatar

Proof of possession, Token Protection and Graph PowerShell, what’s next?

one month ago | Daniel Bradley

Learn about proof of possession and how it protects against access token replay attacks when using Microsoft Graph PowerShell. The post Proof of possession, Token Protection and Graph PowerShell, what’s next? appeared first on Our Cloud Network.

Darren Robinson avatar

An Entra ID AI Agent using PowerShell

one month ago | Darren Robinson

Last week inspired by Satya Nadella’s Microsoft Ignite Keynote I looked into the possiblity of creating an AI Agent for Entra ID. More specifically if I could create my own Entra ID AI Agent using PowerShell. The image below is what I had in mind.… keep reading The post An Entra ID AI Agent using PowerShell appeared first on darrenjrobinson - Bespoke Identity and Access Management Solutions.

Guillaume Blin avatar

Powershell - Managing the status and configuration of network interfaces

one month ago | Guillaume Blin

Powershell commands to view and modify the status and configuration of network interfaces (disable IPv6, enable/disable an interface)

Harm Veenstra avatar

Use PowerShell to check if (shortened) URL link is safe

2 months ago | Harm Veenstra

It just happens a lot: you receive a (shortened) URL and are unsure if it's safe to open. Sometimes, I open it in Windows Sandbox or use the urlscan.io website. In this blog post, I will show you how you can automate the check of a URL and see if it's safe or not :)

Harm Veenstra avatar

PowerShell turned 18 years old!

2 months ago | Harm Veenstra

Yesterday, November 14th, 2024, PowerShell turned 18 years old. 🙂 I started using it after the first public beta version (“Monad”) in 2005, and I was immediately hooked! In this blog post, I will discuss the session I attended yesterday, where we celebrated PowerShell’s 18th birthday and my personal PowerShell history.

Andy Levy avatar

Posting to Bluesky via PowerShell on macOS

2 months ago | Andy Levy

The week of PASS Data Community Summit 2024 (November 4-8), Bluesky seemed to reach critical mass with the data community as well as the tech community writ large. Over the week, I saw a few posts (“skeets” I guess?) from Jeff Hicks saying that he was working on a PowerShell module for Bluesky. I said to myself “interesting, I’ll keep an eye on that.” On the evening of November 11th, Jeff posted that he needed help troubleshooting an apparent issue on macOS.

Guillaume Blin avatar

Powershell and the Left Hand Side

2 months ago | Guillaume Blin

An important concept in Powershell, the Left Hand Side

Guillaume Blin avatar

Powershell - Managing disks, partitions and volumes

2 months ago | Guillaume Blin

How to manage disks, partitions and volumes in Powershell

Doug Finke avatar

Analyzing Monthly Changes A PowerShell Approach to Data Visualization

3 months ago | Doug Finke

Analyzing Changes: A PowerShell Approach using Excel for Data Visualization Overview: In today’s data-driven environment, analyzing and visualizing data changes over time is critical for informed decision-making. This article explores a concise PowerShell script designed to process monthly data and output it into an Excel file, enhancing our ability to interpret changes effectively. Importance: With organizations increasingly reliant on data for strategic insights, the ability to quickly visualize performance metrics has never been more essential.

Guillaume Blin avatar

Powershell - Managing System Restore Points in Windows

3 months ago | Guillaume Blin

How to manage system restore points in Windows

Christian Ritter avatar

Automating Sign-In Analysis with PowerShell and Microsoft Graph

3 months ago | Christian Ritter

Introduction In this article, we'll walk through how to explore and analyze Conditional Access data in Microsoft Entra using the Developer Tools in your browser. The purpose of this walkthrough is to demonstrate how you can identify and extract the necessary Microsoft Graph API calls directly from the Entra portal, providing a foundation for automating this process with PowerShell. We'll start by examining the Conditional Access Policy Summary dashboard and the "See all unprotected sign-ins" feature to understand how these sign-ins are logged.