From cfbd2f647066693ac40859c0e85fae7cb6bdf310 Mon Sep 17 00:00:00 2001 From: Dmitry Nefedov Date: Wed, 16 Nov 2022 10:55:18 +0300 Subject: [PATCH] Updated OneDrive download link --- src/Sophia_Script_for_Windows_10/Module/Sophia.psm1 | 2 +- .../Module/Sophia.psm1 | 2 +- src/Sophia_Script_for_Windows_11/Module/Sophia.psm1 | 2 +- .../Module/Sophia.psm1 | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/Sophia_Script_for_Windows_10/Module/Sophia.psm1 b/src/Sophia_Script_for_Windows_10/Module/Sophia.psm1 index 8ee0c12d..1c11a329 100644 --- a/src/Sophia_Script_for_Windows_10/Module/Sophia.psm1 +++ b/src/Sophia_Script_for_Windows_10/Module/Sophia.psm1 @@ -4437,7 +4437,7 @@ public static bool MarkFileDelete (string sourcefile) # Parse XML to get the URL # https://go.microsoft.com/fwlink/p/?LinkID=844652 $Parameters = @{ - Uri = "https://g.live.com/1rewlive5skydrive/OneDriveProduction" + Uri = "https://g.live.com/1rewlive5skydrive/OneDriveProductionV2" UseBasicParsing = $true Verbose = $true } diff --git a/src/Sophia_Script_for_Windows_10_PowerShell_7/Module/Sophia.psm1 b/src/Sophia_Script_for_Windows_10_PowerShell_7/Module/Sophia.psm1 index 517e09f7..a3e46a06 100644 --- a/src/Sophia_Script_for_Windows_10_PowerShell_7/Module/Sophia.psm1 +++ b/src/Sophia_Script_for_Windows_10_PowerShell_7/Module/Sophia.psm1 @@ -4442,7 +4442,7 @@ public static bool MarkFileDelete (string sourcefile) # Parse XML to get the URL # https://go.microsoft.com/fwlink/p/?LinkID=844652 $Parameters = @{ - Uri = "https://g.live.com/1rewlive5skydrive/OneDriveProduction" + Uri = "https://g.live.com/1rewlive5skydrive/OneDriveProductionV2" SslProtocol = "Tls12" UseBasicParsing = $true Verbose = $true diff --git a/src/Sophia_Script_for_Windows_11/Module/Sophia.psm1 b/src/Sophia_Script_for_Windows_11/Module/Sophia.psm1 index 912c71c5..a9e3d42a 100644 --- a/src/Sophia_Script_for_Windows_11/Module/Sophia.psm1 +++ b/src/Sophia_Script_for_Windows_11/Module/Sophia.psm1 @@ -3911,7 +3911,7 @@ public static bool MarkFileDelete (string sourcefile) # Parse XML to get the URL # https://go.microsoft.com/fwlink/p/?LinkID=844652 $Parameters = @{ - Uri = "https://g.live.com/1rewlive5skydrive/OneDriveProduction" + Uri = "https://g.live.com/1rewlive5skydrive/OneDriveProductionV2" UseBasicParsing = $true Verbose = $true } diff --git a/src/Sophia_Script_for_Windows_11_PowerShell_7/Module/Sophia.psm1 b/src/Sophia_Script_for_Windows_11_PowerShell_7/Module/Sophia.psm1 index d2a87aee..e26e13c5 100644 --- a/src/Sophia_Script_for_Windows_11_PowerShell_7/Module/Sophia.psm1 +++ b/src/Sophia_Script_for_Windows_11_PowerShell_7/Module/Sophia.psm1 @@ -3916,7 +3916,7 @@ public static bool MarkFileDelete (string sourcefile) # Parse XML to get the URL # https://go.microsoft.com/fwlink/p/?LinkID=844652 $Parameters = @{ - Uri = "https://g.live.com/1rewlive5skydrive/OneDriveProduction" + Uri = "https://g.live.com/1rewlive5skydrive/OneDriveProductionV2" SslProtocol = "Tls13" UseBasicParsing = $true Verbose = $true