Upload files to "/"
This commit is contained in:
+5
-5
@@ -66,7 +66,7 @@ $AppCount = 0
|
||||
foreach ($Mfg in $MfgsToCheck) {
|
||||
$MfgCount = 0
|
||||
Write-Host ""
|
||||
Write-Host " $Mfg:" -ForegroundColor Cyan
|
||||
Write-Host " ${Mfg}:" -ForegroundColor Cyan
|
||||
|
||||
foreach ($Pattern in $Patterns[$Mfg]) {
|
||||
try {
|
||||
@@ -99,7 +99,7 @@ foreach ($Mfg in $MfgsToCheck) {
|
||||
$MfgAppx = Get-AppxPackage -Name "*$Mfg*" -AllUsers -ErrorAction SilentlyContinue
|
||||
if ($MfgAppx) {
|
||||
Write-Host ""
|
||||
Write-Host " $Mfg:" -ForegroundColor Cyan
|
||||
Write-Host " ${Mfg}:" -ForegroundColor Cyan
|
||||
foreach ($App in $MfgAppx) {
|
||||
Write-Host " - $($App.Name)" -ForegroundColor Red
|
||||
$GlobalResults.AppxPackages += @{Manufacturer = $Mfg; Name = $App.Name }
|
||||
@@ -128,7 +128,7 @@ $ServiceCount = 0
|
||||
foreach ($Mfg in $MfgsToCheck) {
|
||||
$MfgServices = 0
|
||||
Write-Host ""
|
||||
Write-Host " $Mfg:" -ForegroundColor Cyan
|
||||
Write-Host " ${Mfg}:" -ForegroundColor Cyan
|
||||
|
||||
foreach ($ServiceName in $ServicePatterns[$Mfg]) {
|
||||
try {
|
||||
@@ -160,7 +160,7 @@ foreach ($Mfg in $MfgsToCheck) {
|
||||
$MfgTasks = Get-ScheduledTask -TaskPath "*$Mfg*" -ErrorAction SilentlyContinue
|
||||
if ($MfgTasks) {
|
||||
Write-Host ""
|
||||
Write-Host " $Mfg:" -ForegroundColor Cyan
|
||||
Write-Host " ${Mfg}:" -ForegroundColor Cyan
|
||||
foreach ($Task in $MfgTasks) {
|
||||
Write-Host " - $($Task.TaskName)" -ForegroundColor Red
|
||||
Write-Host " Path: $($Task.TaskPath)"
|
||||
@@ -191,7 +191,7 @@ $DirCount = 0
|
||||
foreach ($Mfg in $MfgsToCheck) {
|
||||
$MfgDirs = 0
|
||||
Write-Host ""
|
||||
Write-Host " $Mfg:" -ForegroundColor Cyan
|
||||
Write-Host " ${Mfg}:" -ForegroundColor Cyan
|
||||
|
||||
foreach ($Dir in $DirPatterns[$Mfg]) {
|
||||
if (Test-Path $Dir) {
|
||||
|
||||
Reference in New Issue
Block a user