From d70001fcd7387a948af6d154852e698003ff4fe8 Mon Sep 17 00:00:00 2001 From: Jared Holgate Date: Wed, 15 Jan 2025 11:57:57 +0000 Subject: [PATCH] feat: only allow powershell core (#276) # Pull Request ## Issue https://github.com/Azure/ALZ-PowerShell-Module/issues/232 ## Description Add properties to the manifiest to block installation on `desktop` PowerShell ## License By submitting this pull request, I confirm that my contribution is made under the terms of the projects associated license. --- src/ALZ/ALZ.psd1 | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/ALZ/ALZ.psd1 b/src/ALZ/ALZ.psd1 index 578cf402..6b611903 100644 --- a/src/ALZ/ALZ.psd1 +++ b/src/ALZ/ALZ.psd1 @@ -32,8 +32,10 @@ # Description of the functionality provided by this module Description = 'Azure Landing Zones Powershell Module' + CompatiblePSEditions = 'Core' + # Minimum version of the PowerShell engine required by this module - # PowerShellVersion = '' + PowerShellVersion = '7.4' # Name of the PowerShell host required by this module # PowerShellHostName = ''