28 lines
856 B
PowerShell
28 lines
856 B
PowerShell
|
function Test-AlkamiInstallerManifest10 {
|
||
|
<#
|
||
|
.SYNOPSIS
|
||
|
Please don't use this file by hand, please use Test-AlkamiManifest
|
||
|
This function is intended to validate the LegacyUtilityManifest dotted object/hashtable so we can ensure that the values provided meet a minimum standard of valid
|
||
|
|
||
|
.PARAMETER InstallerManifest
|
||
|
A dotted object ([xml](Get-Content -Path $somePath)) or hashtable of values
|
||
|
#>
|
||
|
[CmdletBinding()]
|
||
|
[OutputType([System.Collections.Hashtable])]
|
||
|
Param(
|
||
|
[Parameter(Position = 0, Mandatory = $true)]
|
||
|
[ValidateNotNullOrEmpty()]
|
||
|
[object]$InstallerManifest
|
||
|
)
|
||
|
|
||
|
$success = $true
|
||
|
$resultMessages = @()
|
||
|
|
||
|
# Installer manifests don't have testable structure that we care about at this time.
|
||
|
# This is ok.
|
||
|
|
||
|
return @{
|
||
|
success = $success
|
||
|
results = $resultMessages
|
||
|
}
|
||
|
}
|