Evergreen.psd1
|
# # Module manifest for module 'Evergreen' # # Generated by: Aaron Parker # # Generated on: 11/4/2026 # @{ # Script module or binary module file associated with this manifest. RootModule = 'Evergreen.psm1' # Version number of this module. ModuleVersion = '2611.2871.0' # Supported PSEditions # CompatiblePSEditions = @() # ID used to uniquely identify this module GUID = '15379d5d-c395-4e22-bcf3-6b10156a13bc' # Author of this module Author = 'Aaron Parker' # Company or vendor of this module CompanyName = 'stealthpuppy' # Copyright statement for this module Copyright = '(c) 2026 stealthpuppy, EUC Pilots. All rights reserved.' # Description of the functionality provided by this module Description = 'Create evergreen Windows image builds with the latest versions of applications. Evergreen is a PowerShell module that retrieves the latest version numbers and download URLs for various software products directly from the vendor source.' # Minimum version of the Windows PowerShell engine required by this module PowerShellVersion = '5.1' # Name of the Windows PowerShell host required by this module # PowerShellHostName = '' # Minimum version of the Windows PowerShell host required by this module # PowerShellHostVersion = '' # Minimum version of Microsoft .NET Framework required by this module. This prerequisite is valid for the PowerShell Desktop edition only. # DotNetFrameworkVersion = '' # Minimum version of the common language runtime (CLR) required by this module. This prerequisite is valid for the PowerShell Desktop edition only. # CLRVersion = '' # Processor architecture (None, X86, Amd64) required by this module # ProcessorArchitecture = '' # Modules that must be imported into the global environment prior to importing this module # RequiredModules = @() # Assemblies that must be loaded prior to importing this module # RequiredAssemblies = @() # Script files (.ps1) that are run in the caller's environment prior to importing this module. # ScriptsToProcess = @() # Type files (.ps1xml) to be loaded when importing this module # TypesToProcess = @() # Format files (.ps1xml) to be loaded when importing this module # FormatsToProcess = @() # Modules to import as nested modules of the module specified in RootModule/ModuleToProcess # NestedModules = @() # Functions to export from this module, for best performance, do not use wildcards and do not delete the entry, use an empty array if there are no functions to export. FunctionsToExport = 'ConvertTo-DotNetVersionClass', 'Export-EvergreenApp', 'Export-EvergreenManifest', 'Find-EvergreenApp', 'Get-EvergreenApp', 'Get-EvergreenAppFromApi', 'Get-EvergreenAppFromLibrary', 'Get-EvergreenAppsPath', 'Get-EvergreenAppsVersion', 'Get-EvergreenEndpointFromApi', 'Get-EvergreenLibrary', 'New-EvergreenLibrary', 'Remove-EvergreenLibraryAppVersion', 'Save-EvergreenApp', 'Start-EvergreenLibraryUpdate', 'Test-EvergreenApp', 'Update-Evergreen' # Cmdlets to export from this module, for best performance, do not use wildcards and do not delete the entry, use an empty array if there are no cmdlets to export. CmdletsToExport = @() # Variables to export from this module # VariablesToExport = @() # Aliases to export from this module, for best performance, do not use wildcards and do not delete the entry, use an empty array if there are no aliases to export. AliasesToExport = 'sea', 'gea', 'fea', 'tea', 'iea', 'Invoke-EvergreenLibraryUpdate', 'Get-EvergreenLibraryApp', 'Invoke-EvergreenApp', 'Get-EvergreenEndpoint' # DSC resources to export from this module # DscResourcesToExport = @() # List of all modules packaged with this module # ModuleList = @() # List of all files packaged with this module # FileList = @() # Private data to pass to the module specified in RootModule/ModuleToProcess. This may also contain a PSData hashtable with additional module metadata used by PowerShell. PrivateData = @{ #RepositorySourceLocation of this module RepositorySourceLocation = 'https://github.com/EUCPilots/evergreen-module/' PSData = @{ # Tags applied to this module. These help with module discovery in online galleries. Tags = 'Evergreen','Packer','Automation','MDT','ConfigMgr','DevOps','AzureVirtualDesktop','Intune','Windows' # A URL to the license for this module. LicenseUri = 'https://github.com/EUCPilots/evergreen-module/blob/main/LICENSE' # A URL to the main website for this project. ProjectUri = 'https://eucpilots.com/evergreen/' # A URL to an icon representing this module. IconUri = 'https://raw.githubusercontent.com/eucpilots/evergreen-module/refs/heads/main/img/evergreenbulb.png' # ReleaseNotes of this module ReleaseNotes = '2611.2871.0 > [!WARNING] > The module now requires Windows PowerShell 5.1 or PowerShell 7.4 or later on Windows, macOS, or Linux; PowerShell 4.0 or PowerShell 6/7.0-7.3 are no longer supported. This version strengthens download and library reliability, improves validation and error reporting across public cmdlets, and refreshes help documentation. - **Supported runtimes:** Raise the minimum supported PowerShell 7 version to 7.4 while retaining Windows PowerShell 5.1 support. Update the CI runtime matrix, syntax checks, test setup, and support documentation. - **Downloads - `Save-EvergreenApp`:** Add optional `-VerifyChecksum` support for SHA-1, SHA-256, and SHA-512 hashes. Add bounded retries with exponential backoff and `Retry-After` handling, plus configurable connection and operation timeouts. Validate destination paths and filenames, support pipeline-bound paths, honor `-WhatIf` and custom user agents, publish only completed downloads, clean up partial files, and restore TLS settings. - **App lookup and API queries - `Get-EvergreenApp`, `Find-EvergreenApp`, `Get-EvergreenAppFromApi`, `Get-EvergreenEndpointFromApi`:** Validate app names and API inputs, encode names for requests, preserve API error details, and reuse output filtering for local and API results. Improve literal-name matching and not-found diagnostics; clean up proxy and certificate state on completion or terminating errors. `Get-EvergreenApp` diagnostics now include exception and location details while preserving the original error. - **Exports - `Export-EvergreenApp`, `Export-EvergreenManifest`:** Support pipeline input and improve validation and error reporting. `Export-EvergreenApp` batches pipeline records into a single write, respects `-WhatIf`, and preserves arrays, nested data, and nonstandard versions when merging and sorting. - **Library operations - `Start-EvergreenLibraryUpdate`, `Get-EvergreenLibrary`, `Get-EvergreenAppFromLibrary`, `Remove-EvergreenLibraryAppVersion`:** Improve mixed-version sorting and isolate per-app state. Export only entries with matching installer files; stage manifest updates before deleting files; and reject unsafe paths and reparse points. Clarify pruning behavior and correct installer-path handling for retained entries. - **Validation and compatibility - `Test-EvergreenApp`, `ConvertTo-DotNetVersionClass`, `Convert-Segment`, `Expand-CabArchive`:** Add HEAD-to-ranged-GET fallback, configurable timeouts, and HTTP status results to `Test-EvergreenApp`. Harden version conversion and make CAB extraction preserve original filenames and extensions. Support the insecure-redirect option on Windows PowerShell 5.1 while retaining compatibility checks for PowerShell Core. - **Module initialization and help:** Handle GitHub rate limits and invalid cache versions in `Evergreen.psm1`; update `Import.ps1`; and refresh cmdlet and module help, including German, Spanish, French, and Japanese documentation. - **Confirmation and preview - `Update-Evergreen`, `Remove-ProxyEnv`:** Add `-WhatIf` and `-Confirm` support. Guard the entire cache update before downloads or cache changes, and guard each proxy variable removal. Add regression coverage and document cache update confirmation behavior. - **Analyzer compliance and compatibility:** Resolve configured PSScriptAnalyzer findings with targeted compatibility suppressions for platform-guarded code, naming and keyword corrections, and encoding fixes. Preserve default automatic date detection without a default-enabled switch parameter, and use Unicode escapes in CAB path validation. - **Diagnostics - `Save-EvergreenApp`, `Update-Evergreen`:** Warn when retry-response status codes or `Retry-After` headers cannot be parsed, and route cache hash-validation failures through `Write-Message` with the appropriate message type.' # Prerelease string of this module # Prerelease = '' # Flag to indicate whether the module requires explicit user acceptance for install/update/save # RequireLicenseAcceptance = $false # External dependent modules of this module # ExternalModuleDependencies = @() } # End of PSData hashtable } # End of PrivateData hashtable # HelpInfo URI of this module # HelpInfoURI = '' # Default prefix for commands exported from this module. Override the default prefix using Import-Module -Prefix. # DefaultCommandPrefix = '' } |