Title: New-ModuleManifest does not create new PSData Properties from Update-ModuleManifest · Issue #8585 · PowerShell/PowerShell · GitHub
Open Graph Title: New-ModuleManifest does not create new PSData Properties from Update-ModuleManifest · Issue #8585 · PowerShell/PowerShell
X Title: New-ModuleManifest does not create new PSData Properties from Update-ModuleManifest · Issue #8585 · PowerShell/PowerShell
Description: Update-ModuleManifest added Prerelease, RequireLicenseAcceptance, and ExternalModuleDependencies properties. New-ModuleManifest does not create commented out properties or have parameters to manage these new properties. New-ModuleManifes...
Open Graph Description: Update-ModuleManifest added Prerelease, RequireLicenseAcceptance, and ExternalModuleDependencies properties. New-ModuleManifest does not create commented out properties or have parameters to manage...
X Description: Update-ModuleManifest added Prerelease, RequireLicenseAcceptance, and ExternalModuleDependencies properties. New-ModuleManifest does not create commented out properties or have parameters to manage...
Opengraph URL: https://github.com/PowerShell/PowerShell/issues/8585
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"New-ModuleManifest does not create new PSData Properties from Update-ModuleManifest","articleBody":"`Update-ModuleManifest` added `Prerelease`, `RequireLicenseAcceptance`, and `ExternalModuleDependencies` properties. `New-ModuleManifest` does not create commented out properties or have parameters to manage these new properties.\r\n\r\n[New-ModuleManifest](https://docs.microsoft.com/en-us/powershell/module/microsoft.powershell.core/new-modulemanifest?view=powershell-6)\r\n[Update-ModuleManifest](https://docs.microsoft.com/en-us/powershell/module/powershellget/update-modulemanifest?view=powershell-6)\r\n\r\n# Steps to reproduce\r\n\r\n```powershell\r\nNew-ModuleManifest -Path test.psd1\r\nUpdate-ModuleManifest -Path test.psd1\r\n```\r\n\r\n# Expected behavior\r\n\r\n`New-ModuleManifest` creates `Prerelease`, `RequireLicenseAcceptance`, and `ExternalModuleDependencies` properties.\r\n\r\n```none\r\nPSData = @{\r\n\r\n # Tags applied to this module. These help with module discovery in online galleries.\r\n # Tags = @()\r\n\r\n # A URL to the license for this module.\r\n # LicenseUri = ''\r\n\r\n # A URL to the main website for this project.\r\n # ProjectUri = ''\r\n\r\n # A URL to an icon representing this module.\r\n # IconUri = ''\r\n\r\n # ReleaseNotes of this module\r\n # ReleaseNotes = ''\r\n\r\n # Prerelease string of this module\r\n # Prerelease = ''\r\n\r\n # Flag to indicate whether the module requires explicit user acceptance for install/update/save\r\n # RequireLicenseAcceptance = $false\r\n\r\n # External dependent modules of this module\r\n # ExternalModuleDependencies = @()\r\n\r\n } # End of PSData hashtable\r\n```\r\n\r\n# Actual behavior\r\n\r\n`New-ModuleManifest` does not create `Prerelease`, `RequireLicenseAcceptance`, and `ExternalModuleDependencies` properties.\r\n\r\n```none\r\nPSData = @{\r\n\r\n # Tags applied to this module. These help with module discovery in online galleries.\r\n # Tags = @()\r\n\r\n # A URL to the license for this module.\r\n # LicenseUri = ''\r\n\r\n # A URL to the main website for this project.\r\n # ProjectUri = ''\r\n\r\n # A URL to an icon representing this module.\r\n # IconUri = ''\r\n\r\n # ReleaseNotes of this module\r\n # ReleaseNotes = ''\r\n\r\n } # End of PSData hashtable\r\n```\r\n\r\n# Environment data\r\n\r\nTested on 6.1.1 and 6.2.0-preview.3\r\n\r\n```none\r\nName Value\r\n---- -----\r\nPSVersion 6.1.1\r\nPSEdition Core\r\nGitCommitId 6.1.1\r\nOS Microsoft Windows 10.0.17134\r\nPlatform Win32NT\r\nPSCompatibleVersions {1.0, 2.0, 3.0, 4.0...}\r\nPSRemotingProtocolVersion 2.3\r\nSerializationVersion 1.1.0.1\r\nWSManStackVersion 3.0\r\n\r\nName Value\r\n---- -----\r\nPSVersion 6.2.0-preview.3\r\nPSEdition Core\r\nGitCommitId 6.2.0-preview.3\r\nOS Microsoft Windows 10.0.17134\r\nPlatform Win32NT\r\nPSCompatibleVersions {1.0, 2.0, 3.0, 4.0...}\r\nPSRemotingProtocolVersion 2.3\r\nSerializationVersion 1.1.0.1\r\nWSManStackVersion 3.0\r\n\r\nGet-Command -Name Update-ModuleManifest\r\n\r\nCommandType Name Version Source\r\n----------- ---- ------- ------\r\nFunction Update-ModuleManifest 2.0.3 PowerShellGet\r\n```\r\n","author":{"url":"https://github.com/ThomasNieto","@type":"Person","name":"ThomasNieto"},"datePublished":"2019-01-02T21:36:39Z","url":"https://github.com/PowerShell/PowerShell/issues/8585"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:c896a516-e4c7-6750-497b-4d9a242990ab |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | EAE4:227A70:23A720:309C6D:6AFD51CF |
| html-safe-nonce | cee712b660d2e008ce20d390d6314821a2082a66b227027765fc85d5a318a8dc |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFQUU0OjIyN0E3MDoyM0E3MjA6MzA5QzZEOjZBRkQ1MUNGIiwidmlzaXRvcl9pZCI6IjYxNDI2NzM1NDE0NzgwNDQxMTEiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 45ca719c72c21bc04e2153a7e740d179e0c8b34317adcd4038552dcaab7956bc |
| hovercard-subject-tag | issue:395388562 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/PowerShell/PowerShell/8585/issue_layout |
| twitter:image | https://opengraph.githubassets.com/a624aaabfff37e6609c6f0756baf90698f60a605b6ec52c6a646f392bbdb22b1/PowerShell/PowerShell/issues/8585 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/a624aaabfff37e6609c6f0756baf90698f60a605b6ec52c6a646f392bbdb22b1/PowerShell/PowerShell/issues/8585 |
| og:image:alt | Update-ModuleManifest added Prerelease, RequireLicenseAcceptance, and ExternalModuleDependencies properties. New-ModuleManifest does not create commented out properties or have parameters to manage... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | ThomasNieto |
| hostname | github.com |
| expected-hostname | github.com |
| None | 66653c2e55a6fff2930be1bdf07ee4f8aa137e3956d056c822563be6f878755e |
| turbo-cache-control | no-preview |
| go-import | github.com/PowerShell/PowerShell git https://github.com/PowerShell/PowerShell.git |
| octolytics-dimension-user_id | 11524380 |
| octolytics-dimension-user_login | PowerShell |
| octolytics-dimension-repository_id | 49609581 |
| octolytics-dimension-repository_nwo | PowerShell/PowerShell |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 49609581 |
| octolytics-dimension-repository_network_root_nwo | PowerShell/PowerShell |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | b6f01f7cb9f35f8c09949773241a3d49dd04b340 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width