PSConfEU MiniCon 2023 - WinGet and DSC Configuring Windows - Demitrius Nelon
In this episode, I, Demetrius Nealon, a product manager at Microsoft, ...
In this episode, I, Demetrius Nealon, a product manager at Microsoft, discuss the topics of DSC (Desired State Configuration) and Winget. I delve into the challenges faced when setting up ...environments, such as outdated instructions and a lack of expertise. To tackle these issues, we utilize PowerShell's DSC and introduce the WinGit configuration. We explore the YAML format implemented in Winget configuration for enhanced performance and parallel processing.
Moving forward, we provide a hands-on demonstration, starting with showcasing the addition of seconds on the clock, aligning the taskbar, enabling dark mode, and displaying file extensions. We proceed to install Git through the Windows Package Manager and clone the Winget CLI project, utilizing PowerShell DSC commands for automation. I emphasize the availability of scripts and samples for Winget configurations, while also providing an overview of the Windows Sandbox, including customization options and the Windows Sandbox DSC resource.
Throughout the demonstration, we encounter several issues, such as path errors and compatibility challenges with PowerShell 7. However, we assure listeners that efforts are being made to address these problems. We discuss the process of bootstrapping Chocolaty using Winget and delve into the concept of idempotency in DSC resources. Furthermore, I reveal plans to introduce a configuration export feature, enabling users to retrieve configurations for installed packages and Windows settings.
We touch on the integration of Winget with Intune and our collaboration with the Intune team to push configurations to devices. Additionally, we explore the potential for Azure integration and the application of Winget on Windows Server. I provide updates on upcoming features, including comparisons of configurations, and highlight our partnerships with the DSC community.
As the episode draws to a close, I stress the significance of feedback and the importance of deepening partnerships. I offer apologies for any technical difficulties encountered and assure listeners that further assistance is available.
00:00:00 PSConfEU MiniCon - WinGet and DSC Configuring Windows - Demitrius Nelon
00:00:06 Introduction to DSC and Winget at Microsoft
00:03:20 Finding and using PowerShell DSC resources
00:06:05 Introducing assertions for machine state validation
00:08:21 Overview of configurations and future plans
00:09:35 Regular winget command vs PowerShell for system configuration.
00:12:00 Challenges with enabling Windows Sandbox and future vision.
00:15:21 Copying files and executing the bootstrap script in the sandbox.
00:15:58 Setting up Windows Sandbox and logon script
00:16:59 Introduction to the Sandbox and its ephemeral nature
00:19:31 Installing and configuring Git
00:20:01 Setting up PowerShell gallery for the first module trust.
00:22:37 Testing configurations and encouraging more DSC resources.
00:23:43 Introducing the Wingate Query and Issue Tracking System
00:29:45 Request for sample availability and current tool usage
00:32:11 Challenges with conflicting dependencies and compare behavior
00:34:21 Installation of Visual Studio in progress
00:36:57 Azure Integration and AVD Image Templates
00:47:39 Demos and Performance Enhancements
00:49:44 Stable Features and Experimental Releases
00:51:35 Fun with Respawn and Camera Mishap Apology[+] Show More