Harm Veenstra avatar

Validate list of Email Addresses using PowerShell

18 hours 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.

Adam Bertram avatar

PowerShell Loops: A Practical Guide to foreach, for, and do Loops

yesterday | Adam Bertram

Learn how to use PowerShell loops effectively in this comprehensive guide covering foreach, for, and do loops with practical real-world examples.

PowerShell + DevOps Global Summit 2025

yesterday

April 7-10, 2025 Bellevue, WA

PowerShell Universal Christmas Edition – Adam Driscoll & Constantin Hager

yesterday

In this lecture, Adam Driscoll and Constantin Hager guide the audience through the PowerShell Universal Christmas edition, demonstrating the latest features and functionalities of version 5.1. The session is organized into two main demos, focusing on practical applications of PowerShell and how attendees can utilize these updates in their own projects. The first half of the presentation features Constantin who shares his user management application, utilizing the Request API to query and display user data in a seamless table format.

Try to Catch PowerShell Error Handling

yesterday

A guide to handling errors within PowerShell and the best approach

PowerShell-Hunter

yesterday

PowerShell tools to help defenders hunt smarter, hunt harder.

How to Use PowerShell Get-Date Cmdlet?

yesterday

In this tutorial, I will explain how to use the PowerShell Get-Date cmdlet to work with dates and times in your scripts. The Get-Date cmdlet allows you to retrieve the current date and time, format dates, and perform date calculations. As a system administrator or a developer, you should know how to use Get-Date (+)(-)

Processing Microsoft 365 Retention Labels with the Microsoft Graph PowerShell SDK

yesterday

Two types of retention labels are in use: Microsoft 365 retention labels and MRM retention tags. Clients hide the difference, but the Microsoft Graph PowerShell SDK cmdlets can only process Microsoft 365 retention labels for files stored in SharePoint Online and OneDrive for Business. EWS can manage MRM retention tags, but it's on a fast path to retirement in 2026. (+)(-)

Adam Bertram avatar

How to Write Your First PowerShell Script: File Cleanup Automation

2 days ago | Adam Bertram

Learn how to build a practical PowerShell script from scratch to automate file cleanup tasks. This hands-on tutorial covers script development fundamentals and best practices.

Guillaume Blin avatar

Powershell - View and manage DNS configuration of network interfaces

5 days ago | Guillaume Blin

Powershell commands to display and manage DNS configuration of network interfaces

Adam Bertram avatar

PowerShell Control Flow: A Practical Guide to Conditional Logic

9 days ago | Adam Bertram

Learn how to use PowerShell control flow including if statements, switch statements and conditional logic with practical real-world examples for server administration.

Harm Veenstra avatar

PowerShell Function for the cmd.ms website

9 days 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.

Adam Bertram avatar

Setting Up VS Code for PowerShell Development: A Beginner’s Guide

10 days ago | Adam Bertram

Learn how to set up Visual Studio Code (VS Code) for PowerShell development in this step-by-step guide. You'll learn how to install VS Code, configure the PowerShell extension, set up the integrated terminal, and explore key features to enhance your PowerShell scripting experience.

Matthew Dowst avatar

PowerShell Collaboration Unleashed: Setting Up The Littlest JupyterHub

12 days 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

12 days 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

16 days 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

16 days 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

18 days 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

21 days 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

23 days 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?

23 days 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.

Adam Bertram avatar

PowerShell Tutorial: Mastering Scriptblocks, Arrays and Hashtables

24 days ago | Adam Bertram

Learn how to use PowerShell scriptblocks for reusable code, arrays for data collections, and hashtables for key-value pair management in this practical hands-on tutorial with real-world examples.

Adam Bertram avatar

PowerShell 101: String, Boolean, and Number Data Types

25 days ago | Adam Bertram

Learn how to work with PowerShell's fundamental data types including strings, booleans and numbers. Master string interpolation, boolean logic, and numerical operations through practical examples.

Darren Robinson avatar

An Entra ID AI Agent using PowerShell

25 days 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.

Adam Bertram avatar

PowerShell Automatic Variables: Special Variables Built into PowerShell

26 days ago | Adam Bertram

Learn about PowerShell's automatic variables - built-in special variables that serve specific purposes. Discover how to work with history limits, constants, exit codes, and null values.

Guillaume Blin avatar

Powershell - Managing the status and configuration of network interfaces

26 days 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

28 days 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 :)

Adam Bertram avatar

How to Query REST APIs with PowerShell: A Practical Guide

one month ago | Adam Bertram

Learn how to use PowerShell to query REST APIs, parse JSON responses, and build a reusable tool for working with web services. This hands-on tutorial covers Invoke-RestMethod, error handling, and creating custom output objects.

Adam Bertram avatar

How to Work with JSON in PowerShell: A Practical Guide

one month ago | Adam Bertram

Learn how to effectively read, manipulate and write JSON data using PowerShell with real-world examples. Master JSON handling for sysadmin tasks.

Harm Veenstra avatar

PowerShell turned 18 years old!

one month 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.

Adam Bertram avatar

Understanding PowerShell Objects: A Practical Tutorial

one month ago | Adam Bertram

Learn how PowerShell objects work with hands-on examples. Master properties, methods and dot notation in this beginner-friendly guide to PowerShell's object-oriented approach.

Harm Veenstra avatar

Microsoft Tech Community and the Windows PowerShell space

one month ago | Harm Veenstra

This week, I received my third-anniversary badge as a member of the Microsoft Tech Community. :) The website also got a nice new, modern look this week! In this blog post, I will highlight the changes and knowledge the forum has given me over the years!

Guillaume Blin avatar

Powershell and the Left Hand Side

one month ago | Guillaume Blin

An important concept in Powershell, the Left Hand Side

Daniel Bradley avatar

Restrict non-admin access to the Microsoft Entra portal with PowerShell

one month ago | Daniel Bradley

Learn how to restrict non-admin users access to the Microsoft Entra admin portal using Microsoft Graph PowerShell. The post Restrict non-admin access to the Microsoft Entra portal with PowerShell appeared first on Our Cloud Network.

Harm Veenstra avatar

Using Compare-Object in PowerShell

one month ago | Harm Veenstra

Sometimes, you have to compare specific values in your PowerShell output, and although you can stare at your screen to do that... You can also use Compare-Object. In this blog post, I will show you how it works and how it makes things a lot easier :)

Guillaume Blin avatar

Powershell - Managing disks, partitions and volumes

one month ago | Guillaume Blin

How to manage disks, partitions and volumes in Powershell

Daniel Bradley avatar

How to bypass Microsoft Graph PowerShell access restrictions

one month ago | Daniel Bradley

Learn how to bypass Microsoft Graph PowerShell access restrictions and gain full directory access using PowerShell. The post How to bypass Microsoft Graph PowerShell access restrictions appeared first on Our Cloud Network.

Harm Veenstra avatar

Learning PowerShell using Microsoft Learn

one month ago | Harm Veenstra

This week, I posted a link to the PowerShell courses/learning paths on Microsoft Learn for PowerShell; I did that because there is so much material to learn from and use as a reference/help system. In this blog post, I will show you your options at Microsoft Learn to improve your PowerShell skills.

Doug Finke avatar

Analyzing Monthly Changes A PowerShell Approach to Data Visualization

one month 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

2 months ago | Guillaume Blin

How to manage system restore points in Windows

Christian Ritter avatar

Automating Sign-In Analysis with PowerShell and Microsoft Graph

2 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.

Daniel Bradley avatar

Report license usage rights with Microsoft Graph PowerShell

2 months ago | Daniel Bradley

Learn how to report assigned license and service plans for users in Microsoft 365 using Microsoft Graph PowerShell. The post Report license usage rights with Microsoft Graph PowerShell appeared first on Our Cloud Network.

Doug Finke avatar

Harnessing PowerShell with OpenAI: An In-Depth Look at Audio Integration

2 months ago | Doug Finke

Harnessing PowerShell with OpenAI: An In-Depth Look at Audio Integration Overview: In an age where artificial intelligence transforms various domains, integrating AI functionalities into scripting languages opens new avenues for automation. One interesting use case involves using PowerShell to convert text into audio by leveraging OpenAI’s API. This article delves deep into the underlying code, its functionality, and its implications in the tech landscape.

Harm Veenstra avatar

Query WinGet software installer data with PowerShell

2 months ago | Harm Veenstra

I'm a big fan of WinGet, and the software available in their ecosystem is growing daily. Still, I'm always curious about what WinGet will download and how it does the silent install of the specified software. In this blog post, I will show you an easy way of retrieving that data :)

Guillaume Blin avatar

Powershell - Playing with the Windows clipboard

2 months ago | Guillaume Blin

“How to send and retrieve information from the Windows clipboard”

Darren Robinson avatar

Passkey Provider AAGUIDs PowerShell Module

2 months ago | Darren Robinson

The FIDO2 specification requires each security key vendor to provide an Authenticator Attestation GUID (AAGUID) during registration. An AAGUID is a 128-bit identifier indicating the key type, such as the make and model. Passkey providers on desktop and mobile devices are also expected to provide an AAGUID during registration.… keep reading The post Passkey Provider AAGUIDs PowerShell Module appeared first on darrenjrobinson - Bespoke Identity and Access Management Solutions.

Andy Levy avatar

SQL Query Stats via Powershell

3 months ago | Andy Levy

Sometimes, work tasks and questions that come up in the SQL Server Community Slack coincide. A couple weeks ago, DrData asked With SET STATISTICS IO ON, is there really no way to show the TOTALS at the bottom? There are some nice tools like StatisticsParser but it sure would be nice to see the totals of all values right at the bottom, especially when there are many tables. The task at hand in the office was a need to do the same thing, but with SET STATISTICS TIME ON.

Guillaume Blin avatar

Powershell - Changing the state of a computer (sleep, hibernate, shutdown, restart)

3 months ago | Guillaume Blin

How to change the state of a computer (sleep, hibernate, shutdown, restart) in Powershell

Doug Finke avatar

Harnessing Attention with PowerShell and AI: A Journey Through ‘Get-WhatIWorkedOn’

3 months ago | Doug Finke

Attention is the new currency. How do we earn it, keep it, and use it wisely? Hello friends, In a world buzzing with endless distractions, capturing and retaining attention is both an art and a science. Today, I invite you on a journey through my latest experiment—a PowerShell function called Get-WhatIWorkedOn. This tool has transformed how I reflect on my work, blending the precision of code with the insights of artificial intelligence.

Guillaume Blin avatar

Powershell - Compress-Archive and Expand-Archive to create and extract ZIP archives

3 months ago | Guillaume Blin

Powershell, through the Microsoft.PowerShell.Archive module, allows us to create, update and extract ZIP archives