diff --git a/scripts/ADDS/payload/Apply-OVFProperties.ps1 b/scripts/ADDS/payload/Apply-OVFProperties.ps1 index f189b7f..73b83f9 100644 --- a/scripts/ADDS/payload/Apply-OVFProperties.ps1 +++ b/scripts/ADDS/payload/Apply-OVFProperties.ps1 @@ -332,7 +332,7 @@ $WriteEventLogSplat = @{ Write-EventLog @WriteEventLogSplat & schtasks.exe /Change /TN 'OVF-Properties' /DISABLE -Function New-ToastNotification () { +Function New-ToastNotification { Param( [Parameter] [string]$Stream = 'OVF Properties', diff --git a/scripts/Update-OvfConfiguration.ps1 b/scripts/Update-OvfConfiguration.ps1 index fd731de..1789676 100644 --- a/scripts/Update-OvfConfiguration.ps1 +++ b/scripts/Update-OvfConfiguration.ps1 @@ -9,7 +9,8 @@ Param( Throw "'$_' is not a valid filename (within working directory '$PWD'), or access denied; aborting." } })] - [string]$OVFFile + [string]$OVFFile, + [hashtable]$Parameter ) $GetContentSplat = @{