Commit 963502a5 authored by Saleh Raghib's avatar Saleh Raghib
Browse files

Fixing typo in variable name

parent 298e59f5
...@@ -355,17 +355,17 @@ if ($AppInstallStatusMsg){ ...@@ -355,17 +355,17 @@ if ($AppInstallStatusMsg){
{ {
$AppsInstalledSuccessfully += [regex]::Match($AppInstallLogs[$i-1].message, "(?<=')(.*)(?=')").Groups[1].Value $AppsInstalledSuccessfully += [regex]::Match($AppInstallLogs[$i-1].message, "(?<=')(.*)(?=')").Groups[1].Value
} }
ElseIf ($smsts[$i].message -like "Install application action failed*") ElseIf ($AppInstallLogs[$i].message -like "Install application action failed*")
{ {
$AppsFailedToInstall += [regex]::Match($AppInstallLogs[$i-1].message, "(?<=')(.*)(?=')").Groups[1].Value $AppsFailedToInstall += [regex]::Match($AppInstallLogs[$i-1].message, "(?<=')(.*)(?=')").Groups[1].Value
} }
} }
$addinfo3 = "" $addinfo3 = ""
if($AppsInstalledSuccessfully -gt 0) { if($AppsInstalledSuccessfully -gt 0) {
$addinfo3 += " Successfully installed: $($AppsInstalledSuccessfully -join ',')." $addinfo3 += " Successfully installed: $($AppsInstalledSuccessfully -join ', ')."
} }
if($AppsFailedToInstall -gt 0) { if($AppsFailedToInstall -gt 0) {
$addinfo3 += " Failed to install: $($AppsFailedToInstall -join ',')." $addinfo3 += " Failed to install: $($AppsFailedToInstall -join ', ')."
} }
log "addinfo3 is $addinfo3" log "addinfo3 is $addinfo3"
} }
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment