mirror of
https://github.com/rbalsleyMSFT/FFU.git
synced 2026-06-14 10:19:36 -06:00
Fix Get-Apps function parameter name
This commit is contained in:
@@ -1890,9 +1890,9 @@ function Get-StoreApp {
|
|||||||
|
|
||||||
function Get-Apps {
|
function Get-Apps {
|
||||||
param (
|
param (
|
||||||
[string]$AppsList
|
[string]$AppList
|
||||||
)
|
)
|
||||||
$apps = Get-Content -Path $AppsList -Raw | ConvertFrom-Json
|
$apps = Get-Content -Path $AppList -Raw | ConvertFrom-Json
|
||||||
if (-not $apps) {
|
if (-not $apps) {
|
||||||
WriteLog "No apps were specified in AppList.json file."
|
WriteLog "No apps were specified in AppList.json file."
|
||||||
return
|
return
|
||||||
@@ -3349,7 +3349,7 @@ if ($InstallApps) {
|
|||||||
exit
|
exit
|
||||||
}
|
}
|
||||||
WriteLog "$AppsPath\InstallAppsandSysprep.cmd found"
|
WriteLog "$AppsPath\InstallAppsandSysprep.cmd found"
|
||||||
Get-Apps -AppsList "$AppsPath\AppList.json"
|
Get-Apps -AppList "$AppsPath\AppList.json"
|
||||||
if (-not $InstallOffice) {
|
if (-not $InstallOffice) {
|
||||||
#Modify InstallAppsandSysprep.cmd to REM out the office install command
|
#Modify InstallAppsandSysprep.cmd to REM out the office install command
|
||||||
$CmdContent = Get-Content -Path "$AppsPath\InstallAppsandSysprep.cmd"
|
$CmdContent = Get-Content -Path "$AppsPath\InstallAppsandSysprep.cmd"
|
||||||
|
|||||||
Reference in New Issue
Block a user