As mentioned in PowershellFrameworkCollective/psframework#645 (comment) , after updating to 2.2.12.171 of PSModuleDevelopment, the Invoke-PSMDTemplate command started generating files where part of the content is missing.
See Test Invoke-PSMDTemplate for a comparison. Both of the following files were generated with the following command:
Invoke-PSMDTemplate CommandTest -Name Invoke-PSMDTemplate
The issue occurs on Windows Server 2022 with Windows PowerShell 5.1.
As mentioned in PowershellFrameworkCollective/psframework#645 (comment) , after updating to 2.2.12.171 of PSModuleDevelopment, the
Invoke-PSMDTemplatecommand started generating files where part of the content is missing.See Test Invoke-PSMDTemplate for a comparison. Both of the following files were generated with the following command:
Invoke-PSMDTemplate CommandTest -Name Invoke-PSMDTemplateThe issue occurs on Windows Server 2022 with Windows PowerShell 5.1.