Invoke Get-Apps function with AppList.txt argument

This commit is contained in:
Zehadi Alam
2024-06-30 20:15:13 -04:00
parent 205b58aaa7
commit 4af808c939
+1 -1
View File
@@ -3206,7 +3206,7 @@ if ($InstallApps) {
exit
}
WriteLog "$AppsPath\InstallAppsandSysprep.cmd found"
Get-Apps -AppsList "$AppsPath\AppsList.txt"
if (-not $InstallOffice) {
#Modify InstallAppsandSysprep.cmd to REM out the office install command
$CmdContent = Get-Content -Path "$AppsPath\InstallAppsandSysprep.cmd"