<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Windows on Nicola Suter</title><link>https://nicolasuter.ch/tags/windows/</link><description>Recent content in Windows on Nicola Suter</description><generator>Hugo -- gohugo.io</generator><language>en-US</language><copyright>© 2026 Nicola Suter</copyright><lastBuildDate>Wed, 10 May 2023 00:00:00 +0000</lastBuildDate><atom:link href="https://nicolasuter.ch/tags/windows/rss.xml" rel="self" type="application/rss+xml"/><item><title>Retrieving Windows LAPS Azure AD Passwords with PowerShell</title><link>https://nicolasuter.ch/retrieving-windows-laps-azure-ad-passwords-with-powershell/</link><pubDate>Wed, 10 May 2023 00:00:00 +0000</pubDate><guid>https://nicolasuter.ch/retrieving-windows-laps-azure-ad-passwords-with-powershell/</guid><description>&lt;p&gt;Did you know that for the new Windows LAPS Azure AD is also maintaining the password history? The built in PowerShell commandlet relies on the Microsoft Graph PowerShell SDK and within this post I want to show you how to work with the &lt;code&gt;Get-LapsAADPassword&lt;/code&gt; cmdlet.&lt;/p&gt;
&lt;p&gt;Kudos to &lt;a href="https://medium.com/u/b214ce59ec84" target="_blank" rel="noreferrer"&gt;Niklas Tinner&lt;/a&gt; as he brought this to my attention while working together.&lt;/p&gt;

&lt;h2 class="relative group"&gt;Where is this command originating from?
 &lt;div id="where-is-this-command-originating-from" class="anchor"&gt;&lt;/div&gt;
 
 &lt;span
 class="absolute top-0 w-6 transition-opacity opacity-0 -start-6 not-prose group-hover:opacity-100 select-none"&gt;
 &lt;a class="text-primary-300 dark:text-neutral-700 !no-underline" href="#where-is-this-command-originating-from" aria-label="Anchor"&gt;#&lt;/a&gt;
 &lt;/span&gt;
 
&lt;/h2&gt;
&lt;p&gt;The &lt;code&gt;Get-LapsAADPassword&lt;/code&gt; cmdlet is part of the &lt;code&gt;LAPS&lt;/code&gt; PowerShell module that was baked into the Windows Operating system with the April 2023 quality updates.&lt;/p&gt;
&lt;p&gt;The module is maintained as part of the Operating System and builds the Interface to interact with Windows LAPS locally on a device. The module binaries reside within &lt;code&gt;C:\Windows\system32\WindowsPowerShell\v1.0\Modules\LAPS&lt;/code&gt; and consist of DLLs and PowerShell files:&lt;/p&gt;
&lt;figure&gt;&lt;img
 class="my-0 rounded-md"
 loading="lazy"
 decoding="async"
 fetchpriority="low"
 alt=""
 src="static/content/images/1__qcPzW4MPs441N6xsGkF2sA.png"
 &gt;&lt;/figure&gt;

&lt;h3 class="relative group"&gt;Let’s retrieve some passwords
 &lt;div id="lets-retrieve-some-passwords" class="anchor"&gt;&lt;/div&gt;
 
 &lt;span
 class="absolute top-0 w-6 transition-opacity opacity-0 -start-6 not-prose group-hover:opacity-100 select-none"&gt;
 &lt;a class="text-primary-300 dark:text-neutral-700 !no-underline" href="#lets-retrieve-some-passwords" aria-label="Anchor"&gt;#&lt;/a&gt;
 &lt;/span&gt;
 
&lt;/h3&gt;
&lt;p&gt;Before we can start retrieving passwords we need to make sure, that we have the appropriate &lt;a href="https://github.com/microsoftgraph/msgraph-sdk-powershell" target="_blank" rel="noreferrer"&gt;Microsoft Graph PowerShell SDK&lt;/a&gt; module present.&lt;/p&gt;
&lt;p&gt;We can easily check this with the following PowerShell command:&lt;/p&gt;
&lt;div class="highlight-wrapper"&gt;&lt;div class="highlight"&gt;&lt;pre tabindex="0" class="chroma"&gt;&lt;code class="language-powershell" data-lang="powershell"&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="nb"&gt;Get-Module&lt;/span&gt; &lt;span class="n"&gt;-Name&lt;/span&gt; &lt;span class="n"&gt;Microsoft&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="py"&gt;Graph&lt;/span&gt; &lt;span class="n"&gt;-ListAvailable&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;If you do not retrieve any output, you need to install the module with local Administrator privileges with:&lt;/p&gt;</description></item><item><title>Let's have a tête-à-tête with the new Windows LAPS for Azure AD joined devices</title><link>https://nicolasuter.ch/meeting-windows-laps/</link><pubDate>Fri, 21 Apr 2023 18:56:24 +0000</pubDate><guid>https://nicolasuter.ch/meeting-windows-laps/</guid><description>&lt;p&gt;Loooooong awaited and it&amp;rsquo;s finally here - the new Windows LAPS. With the previous announcement(s) of the integration into the native Windows operating system and support for Azure AD join this was a long-awaited feature. With the recent patch Tuesday the binaries were backed and delivered natively into the current Windows client and Server OS and today they also launched the Azure AD backend that can serve as the backup source for passwords. Within this post, I want to give you a quick impression of what the deployment experience currently looks like and where I needed some adjustments to get the expected result.&lt;/p&gt;

&lt;h2 class="relative group"&gt;Setup
 &lt;div id="setup" class="anchor"&gt;&lt;/div&gt;
 
 &lt;span
 class="absolute top-0 w-6 transition-opacity opacity-0 -start-6 not-prose group-hover:opacity-100 select-none"&gt;
 &lt;a class="text-primary-300 dark:text-neutral-700 !no-underline" href="#setup" aria-label="Anchor"&gt;#&lt;/a&gt;
 &lt;/span&gt;
 
&lt;/h2&gt;

&lt;h3 class="relative group"&gt;Prerequisites
 &lt;div id="prerequisites" class="anchor"&gt;&lt;/div&gt;
 
 &lt;span
 class="absolute top-0 w-6 transition-opacity opacity-0 -start-6 not-prose group-hover:opacity-100 select-none"&gt;
 &lt;a class="text-primary-300 dark:text-neutral-700 !no-underline" href="#prerequisites" aria-label="Anchor"&gt;#&lt;/a&gt;
 &lt;/span&gt;
 
&lt;/h3&gt;
&lt;p&gt;To deploy LAPS with Azure AD password backup and Intune you need licenses/access to those tools and Windows 10/11 devices with the latest April patches installed. A full list of prerequisites is provided &lt;a href="https://learn.microsoft.com/en-us/windows-server/identity/laps/laps-overview#windows-laps-supported-platforms-and-azure-ad-laps-preview-status" target="_blank" rel="noreferrer"&gt;by Microsoft here&lt;/a&gt;.&lt;/p&gt;

&lt;h3 class="relative group"&gt;Azure AD enablement
 &lt;div id="azure-ad-enablement" class="anchor"&gt;&lt;/div&gt;
 
 &lt;span
 class="absolute top-0 w-6 transition-opacity opacity-0 -start-6 not-prose group-hover:opacity-100 select-none"&gt;
 &lt;a class="text-primary-300 dark:text-neutral-700 !no-underline" href="#azure-ad-enablement" aria-label="Anchor"&gt;#&lt;/a&gt;
 &lt;/span&gt;
 
&lt;/h3&gt;
&lt;p&gt;Unlike the on-premises AD LAPS enablement we do not need any schema extensions and can simply enable the following toggle within our Azure AD device settings:&lt;/p&gt;</description></item></channel></rss>