* Make script PSv5 compatible again, apply some PS best practices
* this commit removes PowerShell Core only features that were introduced with #2378 to ensure compatibility with PSv5
* adds comment based help
* use consistently cased Cmdlet and variable names
* improves input data related error handling
* adds PS code regions for automatic code folding
* automates the creation of the manifest file at the correct destination path
* corrects the use of Write-Host and Write-Output
Fixes#3061
* Adhere to YAML formatting conventions
* Use cross-platform new line handling
Co-authored-by: Sebastian Neumann <sebastian.neumann@experienceone.com>
* Add silent switches prompt
Added prompts for optional silent switches
* Added $InstallerType logic for silent switches
Only prompt for silent switches if $InstallerType is "exe"
* requirement: id min 4 max 255 characters
* minimum requirements for manifest
* requriements for licenseurl when filled minimum 10 maximum 2000 chars
* requriements for appmoniker when filled maximum 40 chars
* requriements for tags when filled maximum 40 chars
* requriements for homepage when filled minimum 10 maximum 2000 chars
* requriements for description when filled maximum 500 chars
* catch failed download and exit the script