diff --git a/scripts_staging/TasksUpdater/Updater P3 Run PS.ps1 b/scripts_staging/TasksUpdater/Updater P3 Run PS.ps1 index 71c67fcc..03936c11 100644 --- a/scripts_staging/TasksUpdater/Updater P3 Run PS.ps1 +++ b/scripts_staging/TasksUpdater/Updater P3 Run PS.ps1 @@ -26,9 +26,11 @@ .CHANGELOG 13.12.24 SAN Split logging from parser. - + 03.06.25 SAN move PS7 call at the start #> +# Call the pwsh snippet +{{CallPowerShell7}} # Name will be used for both the name of the log file and what line of the Schedules to parse $PartName = "ModuleUpdate" @@ -39,9 +41,6 @@ $PartName = "ModuleUpdate" # Call the logging snippet env Company_folder_path will be passed {{Logging}} -# Call the pwsh snippet -{{CallPowerShell7}} - # Set TLS version to 1.2 [Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12 diff --git a/scripts_staging/TasksUpdater/Updater P3 Run WU.ps1 b/scripts_staging/TasksUpdater/Updater P3 Run WU.ps1 index 0bc6ed41..8885d014 100644 --- a/scripts_staging/TasksUpdater/Updater P3 Run WU.ps1 +++ b/scripts_staging/TasksUpdater/Updater P3 Run WU.ps1 @@ -36,9 +36,11 @@ 13.12.24 SAN Split logging from parser. 30.01.25 SAN Changed output for troubleshooting 14.04.25 SAN Added validation for KB format and warnings for invalid KBs. + 03.06.25 SAN move PS7 call at the start #> - +# Call the pwsh snippet +{{CallPowerShell7}} # Name will be used for both the name of the log file and what line of the Schedules to parse $PartName = "WindowsUpdate" @@ -49,9 +51,6 @@ $PartName = "WindowsUpdate" # Call the logging snippet env Company_folder_path will be passed {{Logging}} -# Call the pwsh snippet -{{CallPowerShell7}} - # Set TLS version to 1.2 [Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12