diff --git a/src/application/collections/windows.yaml b/src/application/collections/windows.yaml index 14d510ad..63a51060 100644 --- a/src/application/collections/windows.yaml +++ b/src/application/collections/windows.yaml @@ -9,6 +9,11 @@ scripting: startCode: |- @echo off :: {{ $homepage }} — v{{ $version }} — {{ $date }} + :: Ensure PowerShell is available + where PowerShell >nul 2>&1 || ( + echo PowerShell is not available. Please install or enable PowerShell. + pause & exit 1 + ) :: Ensure admin privileges fltmc >nul 2>&1 || ( echo Administrator privileges are required.