11# yaml-language-server: $schema=https://aka.ms/configuration-dsc-schema/0.2
22#
3- # Common Configuration Sample for .NET Engineers
3+ # Common Configuration Sample for .NET Engineers
44# =================================
55#
66# Purpose:
1919properties :
2020 configurationVersion : " 0.2.0"
2121 resources :
22+ - resource : PSDscResources/Script
23+ id : Winget-Upgrade-Packages
24+ directives :
25+ description : Upgrade all Microsoft Store apps using winget
26+ securityContext : elevated # Requires admin rights to install apps
27+ settings :
28+ SetScript : |
29+ $scriptPath = "https://raw.githubusercontent.com/Evilazaro/DevExp-DevBox/refs/heads/main/.configuration/devcenter/workloads/winget-update.ps1"
30+ if (Test-Path $scriptPath) {
31+ Write-Verbose "Running setup script: $scriptPath" -Verbose
32+ & $scriptPath
33+ } else {
34+ Write-Error "Setup script not found: $scriptPath"
35+ }
36+ GetScript : return $false
37+ TestScript : return $false
38+
2239 # ----------------------------------------------
2340 # Storage Configuration
2441 # ----------------------------------------------
2542 # Resource: Dev Drive
2643 # Dev Drive provides optimized filesystem performance for development workloads
2744 # with ReFS features like integrity streams and block cloning for Git operations.
28- #
45+ #
2946 # Key benefits for Azure development:
3047 # - Significantly faster Git operations for large Azure repositories
3148 # - Improved file system performance for build operations
@@ -189,4 +206,4 @@ properties:
189206 allowPrerelease : true
190207 description : Install Visual Studio Code editor
191208 settings :
192- id : Microsoft.VisualStudioCode
209+ id : Microsoft.VisualStudioCode
0 commit comments