|
|
@ -12902,7 +12902,7 @@ function Set-AppGraphicsPerformance |
|
|
|
|
|
|
|
do |
|
|
|
{ |
|
|
|
$Choice = Show-Menu -Menu @($Browse, $Skip) -Default 2 |
|
|
|
$Choice = Show-Menu -Menu $Browse -Default 1 -AddSkip |
|
|
|
|
|
|
|
switch ($Choice) |
|
|
|
{ |
|
|
@ -13097,8 +13097,8 @@ function CleanupTask |
|
|
|
|
|
|
|
if ($TaskUserAccount -ne $env:USERNAME) |
|
|
|
{ |
|
|
|
Write-Verbose -Message ($Localization.ScheduledTaskPresented -f $MyInvocation.Line, $TaskUserAccount) -Verbose |
|
|
|
Write-Error -Message ($Localization.ScheduledTaskPresented -f $MyInvocation.Line, $TaskUserAccount) -ErrorAction SilentlyContinue |
|
|
|
Write-Verbose -Message ($Localization.ScheduledTaskPresented -f $MyInvocation.Line.Trim(), $TaskUserAccount) -Verbose |
|
|
|
Write-Error -Message ($Localization.ScheduledTaskPresented -f $MyInvocation.Line.Trim(), $TaskUserAccount) -ErrorAction SilentlyContinue |
|
|
|
Write-Error -Message ($Localization.RestartFunction -f $MyInvocation.Line.Trim()) -ErrorAction SilentlyContinue |
|
|
|
|
|
|
|
return |
|
|
@ -13521,8 +13521,8 @@ function SoftwareDistributionTask |
|
|
|
|
|
|
|
if ($TaskUserAccount -ne $env:USERNAME) |
|
|
|
{ |
|
|
|
Write-Verbose -Message ($Localization.ScheduledTaskPresented -f $MyInvocation.Line, $TaskUserAccount) -Verbose |
|
|
|
Write-Error -Message ($Localization.ScheduledTaskPresented -f $MyInvocation.Line, $TaskUserAccount) -ErrorAction SilentlyContinue |
|
|
|
Write-Verbose -Message ($Localization.ScheduledTaskPresented -f $MyInvocation.Line.Trim(), $TaskUserAccount) -Verbose |
|
|
|
Write-Error -Message ($Localization.ScheduledTaskPresented -f $MyInvocation.Line.Trim(), $TaskUserAccount) -ErrorAction SilentlyContinue |
|
|
|
Write-Error -Message ($Localization.RestartFunction -f $MyInvocation.Line.Trim()) -ErrorAction SilentlyContinue |
|
|
|
|
|
|
|
return |
|
|
@ -13826,8 +13826,8 @@ function TempTask |
|
|
|
|
|
|
|
if ($TaskUserAccount -ne $env:USERNAME) |
|
|
|
{ |
|
|
|
Write-Verbose -Message ($Localization.ScheduledTaskPresented -f $MyInvocation.Line, $TaskUserAccount) -Verbose |
|
|
|
Write-Error -Message ($Localization.ScheduledTaskPresented -f $MyInvocation.Line, $TaskUserAccount) -ErrorAction SilentlyContinue |
|
|
|
Write-Verbose -Message ($Localization.ScheduledTaskPresented -f $MyInvocation.Line.Trim(), $TaskUserAccount) -Verbose |
|
|
|
Write-Error -Message ($Localization.ScheduledTaskPresented -f $MyInvocation.Line.Trim(), $TaskUserAccount) -ErrorAction SilentlyContinue |
|
|
|
Write-Error -Message ($Localization.RestartFunction -f $MyInvocation.Line.Trim()) -ErrorAction SilentlyContinue |
|
|
|
|
|
|
|
return |
|
|
|