Browse Source

Updated `ScheduledTasks` function

pull/712/head
Dmitry Nefedov 2 months ago
parent
commit
44b8a07ec1
  1. 17
      src/Sophia_Script_for_Windows_10/Module/Sophia.psm1
  2. 13
      src/Sophia_Script_for_Windows_10_LTSC_2019/Module/Sophia.psm1
  3. 13
      src/Sophia_Script_for_Windows_10_LTSC_2021/Module/Sophia.psm1
  4. 17
      src/Sophia_Script_for_Windows_10_PowerShell_7/Module/Sophia.psm1
  5. 23
      src/Sophia_Script_for_Windows_11/Module/Sophia.psm1
  6. 23
      src/Sophia_Script_for_Windows_11_ARM/Module/Sophia.psm1
  7. 23
      src/Sophia_Script_for_Windows_11_ARM_PowerShell_7/Module/Sophia.psm1
  8. 23
      src/Sophia_Script_for_Windows_11_LTSC_2024/Module/Sophia.psm1
  9. 23
      src/Sophia_Script_for_Windows_11_PowerShell_7/Module/Sophia.psm1

17
src/Sophia_Script_for_Windows_10/Module/Sophia.psm1

@ -396,7 +396,6 @@ function ScheduledTasks
Add-Type -AssemblyName PresentationCore, PresentationFramework
#region Variables
# Initialize an array list to store the selected scheduled tasks
$SelectedTasks = New-Object -TypeName System.Collections.ArrayList($null)
@ -421,18 +420,8 @@ function ScheduledTasks
"MapsToastTask",
# This task checks for updates to maps which you have downloaded for offline use
"MapsUpdateTask",
# Initializes Family Safety monitoring and enforcement
"FamilySafetyMonitor",
# Synchronizes the latest settings with the Microsoft family features service
"FamilySafetyRefreshTask",
# XblGameSave Standby Task
"XblGameSaveTask"
"MapsUpdateTask"
)
#endregion Variables
#region XAML Markup
# The section defines the design of the upcoming dialog box
@ -9311,7 +9300,7 @@ function Uninstall-UWPApps
#>
function Install-HEVC
{
if (-not (Get-AppxPackage -Name Microsoft.Windows.Photos)) ### вытащить фотографии
if (-not (Get-AppxPackage -Name Microsoft.Windows.Photos))
{
Write-Information -MessageData "" -InformationAction Continue
Write-Verbose -Message ($Localization.PhotosNotInstalled, ($Localization.Skipped -f $MyInvocation.Line.Trim()) -join " ") -Verbose
@ -9320,7 +9309,7 @@ function Install-HEVC
return
}
if (Get-AppxPackage -Name Microsoft.HEVCVideoExtension) ### вытащить HEVC
if (Get-AppxPackage -Name Microsoft.HEVCVideoExtension)
{
Write-Information -MessageData "" -InformationAction Continue
Write-Verbose -Message ($Localization.HEVCInstalled, ($Localization.Skipped -f $MyInvocation.Line.Trim()) -join " ") -Verbose

13
src/Sophia_Script_for_Windows_10_LTSC_2019/Module/Sophia.psm1

@ -382,7 +382,6 @@ function ScheduledTasks
Add-Type -AssemblyName PresentationCore, PresentationFramework
#region Variables
# Initialize an array list to store the selected scheduled tasks
$SelectedTasks = New-Object -TypeName System.Collections.ArrayList($null)
@ -407,18 +406,8 @@ function ScheduledTasks
"MapsToastTask",
# This task checks for updates to maps which you have downloaded for offline use
"MapsUpdateTask",
# Initializes Family Safety monitoring and enforcement
"FamilySafetyMonitor",
# Synchronizes the latest settings with the Microsoft family features service
"FamilySafetyRefreshTask",
# XblGameSave Standby Task
"XblGameSaveTask"
"MapsUpdateTask"
)
#endregion Variables
#region XAML Markup
# The section defines the design of the upcoming dialog box

13
src/Sophia_Script_for_Windows_10_LTSC_2021/Module/Sophia.psm1

@ -382,7 +382,6 @@ function ScheduledTasks
Add-Type -AssemblyName PresentationCore, PresentationFramework
#region Variables
# Initialize an array list to store the selected scheduled tasks
$SelectedTasks = New-Object -TypeName System.Collections.ArrayList($null)
@ -407,18 +406,8 @@ function ScheduledTasks
"MapsToastTask",
# This task checks for updates to maps which you have downloaded for offline use
"MapsUpdateTask",
# Initializes Family Safety monitoring and enforcement
"FamilySafetyMonitor",
# Synchronizes the latest settings with the Microsoft family features service
"FamilySafetyRefreshTask",
# XblGameSave Standby Task
"XblGameSaveTask"
"MapsUpdateTask"
)
#endregion Variables
#region XAML Markup
# The section defines the design of the upcoming dialog box

17
src/Sophia_Script_for_Windows_10_PowerShell_7/Module/Sophia.psm1

@ -396,7 +396,6 @@ function ScheduledTasks
Add-Type -AssemblyName PresentationCore, PresentationFramework
#region Variables
# Initialize an array list to store the selected scheduled tasks
$SelectedTasks = New-Object -TypeName System.Collections.ArrayList($null)
@ -421,18 +420,8 @@ function ScheduledTasks
"MapsToastTask",
# This task checks for updates to maps which you have downloaded for offline use
"MapsUpdateTask",
# Initializes Family Safety monitoring and enforcement
"FamilySafetyMonitor",
# Synchronizes the latest settings with the Microsoft family features service
"FamilySafetyRefreshTask",
# XblGameSave Standby Task
"XblGameSaveTask"
"MapsUpdateTask"
)
#endregion Variables
#region XAML Markup
# The section defines the design of the upcoming dialog box
@ -9324,7 +9313,7 @@ function Uninstall-UWPApps
function Install-HEVC
function Install-HEVC
{
if (-not (Get-AppxPackage -Name Microsoft.Windows.Photos)) ### вытащить фотографии
if (-not (Get-AppxPackage -Name Microsoft.Windows.Photos))
{
Write-Information -MessageData "" -InformationAction Continue
Write-Verbose -Message ($Localization.PhotosNotInstalled, ($Localization.Skipped -f $MyInvocation.Line.Trim()) -join " ") -Verbose
@ -9333,7 +9322,7 @@ function Install-HEVC
return
}
if (Get-AppxPackage -Name Microsoft.HEVCVideoExtension) ### вытащить HEVC
if (Get-AppxPackage -Name Microsoft.HEVCVideoExtension)
{
Write-Information -MessageData "" -InformationAction Continue
Write-Verbose -Message ($Localization.HEVCInstalled, ($Localization.Skipped -f $MyInvocation.Line.Trim()) -join " ") -Verbose

23
src/Sophia_Script_for_Windows_11/Module/Sophia.psm1

@ -396,19 +396,21 @@ function ScheduledTasks
Add-Type -AssemblyName PresentationCore, PresentationFramework
#region Variables
# Initialize an array list to store the selected scheduled tasks
$SelectedTasks = New-Object -TypeName System.Collections.ArrayList($null)
# The following tasks will have their checkboxes checked
[string[]]$CheckedScheduledTasks = @(
# Collects program telemetry information if opted-in to the Microsoft Customer Experience Improvement Program
# Gathers Win32 application data for App Backup scenario
"MareBackup",
# Collects program telemetry information if opted-in to the Microsoft Customer Experience Improvement Program
"Microsoft Compatibility Appraiser",
# Updates compatibility database
# Collects program telemetry information if opted-in to the Microsoft Customer Experience Improvement Program
"Microsoft Compatibility Appraiser Exp",
# Scans startup entries and raises notification to the user if there are too many startup entries.
"StartupAppTask",
# This task collects and uploads autochk SQM data if opted-in to the Microsoft Customer Experience Improvement Program
@ -418,6 +420,8 @@ function ScheduledTasks
"Consolidator",
# The USB CEIP (Customer Experience Improvement Program) task collects Universal Serial Bus related statistics and information about your machine and sends it to the Windows Device Connectivity engineering group at Microsoft
# The information received is used to help improve the reliability, stability, and overall functionality of USB in Windows
# If the user has not consented to participate in Windows CEIP, this task does not do anything
"UsbCeip",
# The Windows Disk Diagnostic reports general disk and system information to Microsoft for users participating in the Customer Experience Program
@ -427,18 +431,9 @@ function ScheduledTasks
"MapsToastTask",
# This task checks for updates to maps which you have downloaded for offline use
"MapsUpdateTask",
# Initializes Family Safety monitoring and enforcement
"FamilySafetyMonitor",
# Synchronizes the latest settings with the Microsoft family features service
"FamilySafetyRefreshTask",
# XblGameSave Standby Task
"XblGameSaveTask"
# Disabling this task will prevent Windows from notifying you of updated maps
"MapsUpdateTask"
)
#endregion Variables
#region XAML Markup
# The section defines the design of the upcoming dialog box

23
src/Sophia_Script_for_Windows_11_ARM/Module/Sophia.psm1

@ -399,19 +399,21 @@ function ScheduledTasks
Add-Type -AssemblyName PresentationCore, PresentationFramework
#region Variables
# Initialize an array list to store the selected scheduled tasks
$SelectedTasks = New-Object -TypeName System.Collections.ArrayList($null)
# The following tasks will have their checkboxes checked
[string[]]$CheckedScheduledTasks = @(
# Collects program telemetry information if opted-in to the Microsoft Customer Experience Improvement Program
# Gathers Win32 application data for App Backup scenario
"MareBackup",
# Collects program telemetry information if opted-in to the Microsoft Customer Experience Improvement Program
"Microsoft Compatibility Appraiser",
# Updates compatibility database
# Collects program telemetry information if opted-in to the Microsoft Customer Experience Improvement Program
"Microsoft Compatibility Appraiser Exp",
# Scans startup entries and raises notification to the user if there are too many startup entries.
"StartupAppTask",
# This task collects and uploads autochk SQM data if opted-in to the Microsoft Customer Experience Improvement Program
@ -421,6 +423,8 @@ function ScheduledTasks
"Consolidator",
# The USB CEIP (Customer Experience Improvement Program) task collects Universal Serial Bus related statistics and information about your machine and sends it to the Windows Device Connectivity engineering group at Microsoft
# The information received is used to help improve the reliability, stability, and overall functionality of USB in Windows
# If the user has not consented to participate in Windows CEIP, this task does not do anything
"UsbCeip",
# The Windows Disk Diagnostic reports general disk and system information to Microsoft for users participating in the Customer Experience Program
@ -430,18 +434,9 @@ function ScheduledTasks
"MapsToastTask",
# This task checks for updates to maps which you have downloaded for offline use
"MapsUpdateTask",
# Initializes Family Safety monitoring and enforcement
"FamilySafetyMonitor",
# Synchronizes the latest settings with the Microsoft family features service
"FamilySafetyRefreshTask",
# XblGameSave Standby Task
"XblGameSaveTask"
# Disabling this task will prevent Windows from notifying you of updated maps
"MapsUpdateTask"
)
#endregion Variables
#region XAML Markup
# The section defines the design of the upcoming dialog box

23
src/Sophia_Script_for_Windows_11_ARM_PowerShell_7/Module/Sophia.psm1

@ -399,19 +399,21 @@ function ScheduledTasks
Add-Type -AssemblyName PresentationCore, PresentationFramework
#region Variables
# Initialize an array list to store the selected scheduled tasks
$SelectedTasks = New-Object -TypeName System.Collections.ArrayList($null)
# The following tasks will have their checkboxes checked
[string[]]$CheckedScheduledTasks = @(
# Collects program telemetry information if opted-in to the Microsoft Customer Experience Improvement Program
# Gathers Win32 application data for App Backup scenario
"MareBackup",
# Collects program telemetry information if opted-in to the Microsoft Customer Experience Improvement Program
"Microsoft Compatibility Appraiser",
# Updates compatibility database
# Collects program telemetry information if opted-in to the Microsoft Customer Experience Improvement Program
"Microsoft Compatibility Appraiser Exp",
# Scans startup entries and raises notification to the user if there are too many startup entries.
"StartupAppTask",
# This task collects and uploads autochk SQM data if opted-in to the Microsoft Customer Experience Improvement Program
@ -421,6 +423,8 @@ function ScheduledTasks
"Consolidator",
# The USB CEIP (Customer Experience Improvement Program) task collects Universal Serial Bus related statistics and information about your machine and sends it to the Windows Device Connectivity engineering group at Microsoft
# The information received is used to help improve the reliability, stability, and overall functionality of USB in Windows
# If the user has not consented to participate in Windows CEIP, this task does not do anything
"UsbCeip",
# The Windows Disk Diagnostic reports general disk and system information to Microsoft for users participating in the Customer Experience Program
@ -430,18 +434,9 @@ function ScheduledTasks
"MapsToastTask",
# This task checks for updates to maps which you have downloaded for offline use
"MapsUpdateTask",
# Initializes Family Safety monitoring and enforcement
"FamilySafetyMonitor",
# Synchronizes the latest settings with the Microsoft family features service
"FamilySafetyRefreshTask",
# XblGameSave Standby Task
"XblGameSaveTask"
# Disabling this task will prevent Windows from notifying you of updated maps
"MapsUpdateTask"
)
#endregion Variables
#region XAML Markup
# The section defines the design of the upcoming dialog box

23
src/Sophia_Script_for_Windows_11_LTSC_2024/Module/Sophia.psm1

@ -386,19 +386,21 @@ function ScheduledTasks
Add-Type -AssemblyName PresentationCore, PresentationFramework
#region Variables
# Initialize an array list to store the selected scheduled tasks
$SelectedTasks = New-Object -TypeName System.Collections.ArrayList($null)
# The following tasks will have their checkboxes checked
[string[]]$CheckedScheduledTasks = @(
# Collects program telemetry information if opted-in to the Microsoft Customer Experience Improvement Program
# Gathers Win32 application data for App Backup scenario
"MareBackup",
# Collects program telemetry information if opted-in to the Microsoft Customer Experience Improvement Program
"Microsoft Compatibility Appraiser",
# Updates compatibility database
# Collects program telemetry information if opted-in to the Microsoft Customer Experience Improvement Program
"Microsoft Compatibility Appraiser Exp",
# Scans startup entries and raises notification to the user if there are too many startup entries.
"StartupAppTask",
# This task collects and uploads autochk SQM data if opted-in to the Microsoft Customer Experience Improvement Program
@ -408,6 +410,8 @@ function ScheduledTasks
"Consolidator",
# The USB CEIP (Customer Experience Improvement Program) task collects Universal Serial Bus related statistics and information about your machine and sends it to the Windows Device Connectivity engineering group at Microsoft
# The information received is used to help improve the reliability, stability, and overall functionality of USB in Windows
# If the user has not consented to participate in Windows CEIP, this task does not do anything
"UsbCeip",
# The Windows Disk Diagnostic reports general disk and system information to Microsoft for users participating in the Customer Experience Program
@ -417,18 +421,9 @@ function ScheduledTasks
"MapsToastTask",
# This task checks for updates to maps which you have downloaded for offline use
"MapsUpdateTask",
# Initializes Family Safety monitoring and enforcement
"FamilySafetyMonitor",
# Synchronizes the latest settings with the Microsoft family features service
"FamilySafetyRefreshTask",
# XblGameSave Standby Task
"XblGameSaveTask"
# Disabling this task will prevent Windows from notifying you of updated maps
"MapsUpdateTask"
)
#endregion Variables
#region XAML Markup
# The section defines the design of the upcoming dialog box

23
src/Sophia_Script_for_Windows_11_PowerShell_7/Module/Sophia.psm1

@ -396,19 +396,21 @@ function ScheduledTasks
Add-Type -AssemblyName PresentationCore, PresentationFramework
#region Variables
# Initialize an array list to store the selected scheduled tasks
$SelectedTasks = New-Object -TypeName System.Collections.ArrayList($null)
# The following tasks will have their checkboxes checked
[string[]]$CheckedScheduledTasks = @(
# Collects program telemetry information if opted-in to the Microsoft Customer Experience Improvement Program
# Gathers Win32 application data for App Backup scenario
"MareBackup",
# Collects program telemetry information if opted-in to the Microsoft Customer Experience Improvement Program
"Microsoft Compatibility Appraiser",
# Updates compatibility database
# Collects program telemetry information if opted-in to the Microsoft Customer Experience Improvement Program
"Microsoft Compatibility Appraiser Exp",
# Scans startup entries and raises notification to the user if there are too many startup entries.
"StartupAppTask",
# This task collects and uploads autochk SQM data if opted-in to the Microsoft Customer Experience Improvement Program
@ -418,6 +420,8 @@ function ScheduledTasks
"Consolidator",
# The USB CEIP (Customer Experience Improvement Program) task collects Universal Serial Bus related statistics and information about your machine and sends it to the Windows Device Connectivity engineering group at Microsoft
# The information received is used to help improve the reliability, stability, and overall functionality of USB in Windows
# If the user has not consented to participate in Windows CEIP, this task does not do anything
"UsbCeip",
# The Windows Disk Diagnostic reports general disk and system information to Microsoft for users participating in the Customer Experience Program
@ -427,18 +431,9 @@ function ScheduledTasks
"MapsToastTask",
# This task checks for updates to maps which you have downloaded for offline use
"MapsUpdateTask",
# Initializes Family Safety monitoring and enforcement
"FamilySafetyMonitor",
# Synchronizes the latest settings with the Microsoft family features service
"FamilySafetyRefreshTask",
# XblGameSave Standby Task
"XblGameSaveTask"
# Disabling this task will prevent Windows from notifying you of updated maps
"MapsUpdateTask"
)
#endregion Variables
#region XAML Markup
# The section defines the design of the upcoming dialog box

Loading…
Cancel
Save