Skip to content

Commit 4f67dbc

Browse files
authored
Merge pull request #289 from P6g9YHK6/main
updates
2 parents f4ef928 + c213cab commit 4f67dbc

File tree

2 files changed

+6
-8
lines changed

2 files changed

+6
-8
lines changed

scripts_staging/TasksUpdater/Updater P3 Run PS.ps1

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -26,9 +26,11 @@
2626
2727
.CHANGELOG
2828
13.12.24 SAN Split logging from parser.
29-
29+
03.06.25 SAN move PS7 call at the start
3030
#>
3131

32+
# Call the pwsh snippet
33+
{{CallPowerShell7}}
3234

3335
# Name will be used for both the name of the log file and what line of the Schedules to parse
3436
$PartName = "ModuleUpdate"
@@ -39,9 +41,6 @@ $PartName = "ModuleUpdate"
3941
# Call the logging snippet env Company_folder_path will be passed
4042
{{Logging}}
4143

42-
# Call the pwsh snippet
43-
{{CallPowerShell7}}
44-
4544
# Set TLS version to 1.2
4645
[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12
4746

scripts_staging/TasksUpdater/Updater P3 Run WU.ps1

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -36,9 +36,11 @@
3636
13.12.24 SAN Split logging from parser.
3737
30.01.25 SAN Changed output for troubleshooting
3838
14.04.25 SAN Added validation for KB format and warnings for invalid KBs.
39+
03.06.25 SAN move PS7 call at the start
3940
#>
4041

41-
42+
# Call the pwsh snippet
43+
{{CallPowerShell7}}
4244

4345
# Name will be used for both the name of the log file and what line of the Schedules to parse
4446
$PartName = "WindowsUpdate"
@@ -49,9 +51,6 @@ $PartName = "WindowsUpdate"
4951
# Call the logging snippet env Company_folder_path will be passed
5052
{{Logging}}
5153

52-
# Call the pwsh snippet
53-
{{CallPowerShell7}}
54-
5554
# Set TLS version to 1.2
5655
[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12
5756

0 commit comments

Comments
 (0)