From 052396a11bec40e7974f8dfd014fd91630ed8739 Mon Sep 17 00:00:00 2001 From: Dmitry Nefedov Date: Thu, 19 Dec 2024 12:53:16 +0300 Subject: [PATCH] Changed Comms DNS records to the actual ones --- .../Functions.ps1 | 2 +- .../Manifest/Sophia.psd1 | 2 +- .../Module/Sophia.psm1 | 43 +++++++++++-------- src/Sophia_Script_for_Windows_10/Sophia.ps1 | 4 +- .../Functions.ps1 | 2 +- .../Manifest/Sophia.psd1 | 2 +- .../Module/Sophia.psm1 | 25 +++++++---- .../Sophia.ps1 | 4 +- .../Functions.ps1 | 2 +- .../Manifest/Sophia.psd1 | 2 +- .../Module/Sophia.psm1 | 41 ++++++++++-------- .../Sophia.ps1 | 4 +- .../Functions.ps1 | 2 +- .../Manifest/Sophia.psd1 | 2 +- .../Module/Sophia.psm1 | 43 +++++++++++-------- .../Sophia.ps1 | 4 +- .../Functions.ps1 | 2 +- .../Manifest/Sophia.psd1 | 2 +- .../Module/Sophia.psm1 | 42 ++++++++++-------- src/Sophia_Script_for_Windows_11/Sophia.ps1 | 4 +- .../Functions.ps1 | 4 +- .../Manifest/Sophia.psd1 | 2 +- .../Module/Sophia.psm1 | 40 ++++++++++------- .../Sophia.ps1 | 4 +- .../Functions.ps1 | 2 +- .../Manifest/Sophia.psd1 | 2 +- .../Module/Sophia.psm1 | 42 ++++++++++-------- .../Sophia.ps1 | 4 +- 28 files changed, 189 insertions(+), 145 deletions(-) diff --git a/src/Sophia_Script_for_Windows_10/Functions.ps1 b/src/Sophia_Script_for_Windows_10/Functions.ps1 index d205cb31..2ebc431b 100644 --- a/src/Sophia_Script_for_Windows_10/Functions.ps1 +++ b/src/Sophia_Script_for_Windows_10/Functions.ps1 @@ -5,7 +5,7 @@ Version: 5.19.3 Date: 28.11.2024 - Copyright (c) 2014—2024 farag, Inestic & lowl1f3 + Copyright (c) 2014—2025 farag, Inestic & lowl1f3 Thanks to all https://forum.ru-board.com members involved diff --git a/src/Sophia_Script_for_Windows_10/Manifest/Sophia.psd1 b/src/Sophia_Script_for_Windows_10/Manifest/Sophia.psd1 index b92a4b24..0a492d49 100644 --- a/src/Sophia_Script_for_Windows_10/Manifest/Sophia.psd1 +++ b/src/Sophia_Script_for_Windows_10/Manifest/Sophia.psd1 @@ -3,7 +3,7 @@ ModuleVersion = '5.19.3' GUID = '109cc881-c42b-45af-a74a-550781989d6a' Author = 'Dmitry "farag" Nefedov' - Copyright = '(c) 2014—2024 farag, Inestic & lowl1f3. All rights reserved' + Copyright = '(c) 2014—2025 farag, Inestic & lowl1f3. All rights reserved' Description = 'Module for Windows fine-tuning and automating the routine tasks' PowerShellVersion = '5.1' ProcessorArchitecture = 'AMD64' diff --git a/src/Sophia_Script_for_Windows_10/Module/Sophia.psm1 b/src/Sophia_Script_for_Windows_10/Module/Sophia.psm1 index a42cc3c4..060d0890 100644 --- a/src/Sophia_Script_for_Windows_10/Module/Sophia.psm1 +++ b/src/Sophia_Script_for_Windows_10/Module/Sophia.psm1 @@ -2,27 +2,32 @@ .SYNOPSIS Sophia Script is a PowerShell module for Windows 10 & Windows 11 fine-tuning and automating the routine tasks - Version: 5.19.3 - Date: 28.11.2024 + .VERSION + 5.19.3 - Copyright (c) 2014—2024 farag, Inestic & lowl1f3 + .DATE + 28.11.2024 + .AUTHOR + farag, Inestic & lowl1f3 + + .COPYRIGHT + (c) 2014—2025 + + .THANKS Thanks to all https://forum.ru-board.com members involved .NOTES - Supported Windows 10 versions - Version: 22H2 - Editions: Home/Pro/Enterprise - Architecture: x64 + Supports Windows 10 22H2 x64 Home/Pro/Enterprise - .LINK GitHub + .LINK https://github.com/farag2/Sophia-Script-for-Windows - .LINK Telegram + .LINK https://t.me/sophianews https://t.me/sophia_chat - .LINK Discord + .LINK https://discord.gg/sSryhaEv79 .NOTES @@ -31,7 +36,7 @@ https://forums.mydigitallife.net/threads/powershell-sophia-script-for-windows-10-windows-11-5-17-8-6-5-8-x64-2023.81675/ https://www.reddit.com/r/PowerShell/comments/go2n5v/powershell_script_setup_windows_10/ - .LINK Authors + .LINK https://github.com/farag2 https://github.com/Inestic https://github.com/lowl1f3 @@ -14076,27 +14081,27 @@ function DNSoverHTTPS # https://www.comss.ru/page.php?id=7315 if (-not (Get-CimInstance -ClassName CIM_ComputerSystem).HypervisorPresent) { - Get-NetAdapter -Physical | Get-NetIPInterface -AddressFamily IPv4 | Set-DnsClientServerAddress -ServerAddresses 195.133.25.16, 195.133.25.99 + Get-NetAdapter -Physical | Get-NetIPInterface -AddressFamily IPv4 | Set-DnsClientServerAddress -ServerAddresses 83.220.169.155, 195.133.25.16 } else { - Get-NetRoute | Where-Object -FilterScript {$_.DestinationPrefix -eq "0.0.0.0/0"} | Get-NetAdapter | Set-DnsClientServerAddress -ServerAddresses 195.133.25.16, 195.133.25.99 + Get-NetRoute | Where-Object -FilterScript {$_.DestinationPrefix -eq "0.0.0.0/0"} | Get-NetAdapter | Set-DnsClientServerAddress -ServerAddresses 83.220.169.155, 195.133.25.16 } foreach ($InterfaceGuid in $InterfaceGuids) { - if (-not (Test-Path -Path "HKLM:\SYSTEM\CurrentControlSet\Services\Dnscache\InterfaceSpecificParameters\$InterfaceGuid\DohInterfaceSettings\Doh\195.133.25.16")) + if (-not (Test-Path -Path "HKLM:\SYSTEM\CurrentControlSet\Services\Dnscache\InterfaceSpecificParameters\$InterfaceGuid\DohInterfaceSettings\Doh\83.220.169.155")) { - New-Item -Path "HKLM:\SYSTEM\CurrentControlSet\Services\Dnscache\InterfaceSpecificParameters\$InterfaceGuid\DohInterfaceSettings\Doh\195.133.25.16" -Force + New-Item -Path "HKLM:\SYSTEM\CurrentControlSet\Services\Dnscache\InterfaceSpecificParameters\$InterfaceGuid\DohInterfaceSettings\Doh\83.220.169.155" -Force } - if (-not (Test-Path -Path "HKLM:\SYSTEM\CurrentControlSet\Services\Dnscache\InterfaceSpecificParameters\$InterfaceGuid\DohInterfaceSettings\Doh\195.133.25.99")) + if (-not (Test-Path -Path "HKLM:\SYSTEM\CurrentControlSet\Services\Dnscache\InterfaceSpecificParameters\$InterfaceGuid\DohInterfaceSettings\Doh\195.133.25.16")) { - New-Item -Path "HKLM:\SYSTEM\CurrentControlSet\Services\Dnscache\InterfaceSpecificParameters\$InterfaceGuid\DohInterfaceSettings\Doh\195.133.25.99" -Force + New-Item -Path "HKLM:\SYSTEM\CurrentControlSet\Services\Dnscache\InterfaceSpecificParameters\$InterfaceGuid\DohInterfaceSettings\Doh\195.133.25.16" -Force } + New-ItemProperty -Path "HKLM:\SYSTEM\CurrentControlSet\Services\Dnscache\InterfaceSpecificParameters\$InterfaceGuid\DohInterfaceSettings\Doh\83.220.169.155" -Name DohFlags -PropertyType QWord -Value 2 -Force + New-ItemProperty -Path "HKLM:\SYSTEM\CurrentControlSet\Services\Dnscache\InterfaceSpecificParameters\$InterfaceGuid\DohInterfaceSettings\Doh\83.220.169.155" -Name DohTemplate -PropertyType String -Value https://dns.comss.one/dns-query -Force New-ItemProperty -Path "HKLM:\SYSTEM\CurrentControlSet\Services\Dnscache\InterfaceSpecificParameters\$InterfaceGuid\DohInterfaceSettings\Doh\195.133.25.16" -Name DohFlags -PropertyType QWord -Value 2 -Force New-ItemProperty -Path "HKLM:\SYSTEM\CurrentControlSet\Services\Dnscache\InterfaceSpecificParameters\$InterfaceGuid\DohInterfaceSettings\Doh\195.133.25.16" -Name DohTemplate -PropertyType String -Value https://dns.comss.one/dns-query -Force - New-ItemProperty -Path "HKLM:\SYSTEM\CurrentControlSet\Services\Dnscache\InterfaceSpecificParameters\$InterfaceGuid\DohInterfaceSettings\Doh\195.133.25.99" -Name DohFlags -PropertyType QWord -Value 2 -Force - New-ItemProperty -Path "HKLM:\SYSTEM\CurrentControlSet\Services\Dnscache\InterfaceSpecificParameters\$InterfaceGuid\DohInterfaceSettings\Doh\195.133.25.99" -Name DohTemplate -PropertyType String -Value https://dns.comss.one/dns-query -Force } } "Disable" diff --git a/src/Sophia_Script_for_Windows_10/Sophia.ps1 b/src/Sophia_Script_for_Windows_10/Sophia.ps1 index 33922031..c47cfa72 100644 --- a/src/Sophia_Script_for_Windows_10/Sophia.ps1 +++ b/src/Sophia_Script_for_Windows_10/Sophia.ps1 @@ -5,7 +5,7 @@ Version: 5.19.3 Date: 28.11.2024 - Copyright (c) 2014—2024 farag, Inestic & lowl1f3 + Copyright (c) 2014—2025 farag, Inestic & lowl1f3 Thanks to all https://forum.ru-board.com members involved @@ -50,7 +50,7 @@ https://forums.mydigitallife.net/threads/powershell-sophia-script-for-windows-10-windows-11-5-17-8-6-5-8-x64-2023.81675/ https://www.reddit.com/r/PowerShell/comments/go2n5v/powershell_script_setup_windows_10/ - .LINK Authors + .LINK https://github.com/farag2 https://github.com/Inestic https://github.com/lowl1f3 diff --git a/src/Sophia_Script_for_Windows_10_LTSC_2019/Functions.ps1 b/src/Sophia_Script_for_Windows_10_LTSC_2019/Functions.ps1 index 5fec5db1..d5f105f4 100644 --- a/src/Sophia_Script_for_Windows_10_LTSC_2019/Functions.ps1 +++ b/src/Sophia_Script_for_Windows_10_LTSC_2019/Functions.ps1 @@ -5,7 +5,7 @@ Version: 5.9.3 Date: 28.11.2024 - Copyright (c) 2014—2024 farag, Inestic & lowl1f3 + Copyright (c) 2014—2025 farag, Inestic & lowl1f3 Thanks to all https://forum.ru-board.com members involved diff --git a/src/Sophia_Script_for_Windows_10_LTSC_2019/Manifest/Sophia.psd1 b/src/Sophia_Script_for_Windows_10_LTSC_2019/Manifest/Sophia.psd1 index 3f1a4c9c..0e4e7291 100644 --- a/src/Sophia_Script_for_Windows_10_LTSC_2019/Manifest/Sophia.psd1 +++ b/src/Sophia_Script_for_Windows_10_LTSC_2019/Manifest/Sophia.psd1 @@ -3,7 +3,7 @@ ModuleVersion = '5.9.3' GUID = 'a36a65ca-70f9-43df-856c-3048fc5e7f01' Author = 'Dmitry "farag" Nefedov' - Copyright = '(c) 2014—2024 farag, Inestic & lowl1f3. All rights reserved' + Copyright = '(c) 2014—2025 farag, Inestic & lowl1f3. All rights reserved' Description = 'Module for Windows fine-tuning and automating the routine tasks' PowerShellVersion = '5.1' ProcessorArchitecture = 'AMD64' diff --git a/src/Sophia_Script_for_Windows_10_LTSC_2019/Module/Sophia.psm1 b/src/Sophia_Script_for_Windows_10_LTSC_2019/Module/Sophia.psm1 index 2a7c5103..02d82cad 100644 --- a/src/Sophia_Script_for_Windows_10_LTSC_2019/Module/Sophia.psm1 +++ b/src/Sophia_Script_for_Windows_10_LTSC_2019/Module/Sophia.psm1 @@ -2,25 +2,32 @@ .SYNOPSIS Sophia Script is a PowerShell module for Windows 10 & Windows 11 fine-tuning and automating the routine tasks - Version: 5.9.3 - Date: 28.11.2024 + .VERSION + 5.9.3 - Copyright (c) 2014—2024 farag, Inestic & lowl1f3 + .DATE + 28.11.2024 + .AUTHOR + farag, Inestic & lowl1f3 + + .COPYRIGHT + (c) 2014—2025 + + .THANKS Thanks to all https://forum.ru-board.com members involved .NOTES - Supported Windows 10 Enterprise LTSC 2019 - Architecture: x64 + Supported Windows 10 x64 Enterprise LTSC 2019 - .LINK GitHub + .LINK https://github.com/farag2/Sophia-Script-for-Windows - .LINK Telegram + .LINK https://t.me/sophianews https://t.me/sophia_chat - .LINK Discord + .LINK https://discord.gg/sSryhaEv79 .NOTES @@ -29,7 +36,7 @@ https://forums.mydigitallife.net/threads/powershell-sophia-script-for-windows-10-windows-11-5-17-8-6-5-8-x64-2023.81675/ https://www.reddit.com/r/PowerShell/comments/go2n5v/powershell_script_setup_windows_10/ - .LINK Authors + .LINK https://github.com/farag2 https://github.com/Inestic https://github.com/lowl1f3 diff --git a/src/Sophia_Script_for_Windows_10_LTSC_2019/Sophia.ps1 b/src/Sophia_Script_for_Windows_10_LTSC_2019/Sophia.ps1 index d510789d..225d6967 100644 --- a/src/Sophia_Script_for_Windows_10_LTSC_2019/Sophia.ps1 +++ b/src/Sophia_Script_for_Windows_10_LTSC_2019/Sophia.ps1 @@ -5,7 +5,7 @@ Version: 5.9.3 Date: 28.11.2024 - Copyright (c) 2014—2024 farag, Inestic & lowl1f3 + Copyright (c) 2014—2025 farag, Inestic & lowl1f3 Thanks to all https://forum.ru-board.com members involved @@ -48,7 +48,7 @@ https://forums.mydigitallife.net/threads/powershell-sophia-script-for-windows-10-windows-11-5-17-8-6-5-8-x64-2023.81675/ https://www.reddit.com/r/PowerShell/comments/go2n5v/powershell_script_setup_windows_10/ - .LINK Authors + .LINK https://github.com/farag2 https://github.com/Inestic https://github.com/lowl1f3 diff --git a/src/Sophia_Script_for_Windows_10_LTSC_2021/Functions.ps1 b/src/Sophia_Script_for_Windows_10_LTSC_2021/Functions.ps1 index 18f0aa5a..aefd5871 100644 --- a/src/Sophia_Script_for_Windows_10_LTSC_2021/Functions.ps1 +++ b/src/Sophia_Script_for_Windows_10_LTSC_2021/Functions.ps1 @@ -5,7 +5,7 @@ Version: 5.19.3 Date: 28.11.2024 - Copyright (c) 2014—2024 farag, Inestic & lowl1f3 + Copyright (c) 2014—2025 farag, Inestic & lowl1f3 Thanks to all https://forum.ru-board.com members involved diff --git a/src/Sophia_Script_for_Windows_10_LTSC_2021/Manifest/Sophia.psd1 b/src/Sophia_Script_for_Windows_10_LTSC_2021/Manifest/Sophia.psd1 index b92a4b24..0a492d49 100644 --- a/src/Sophia_Script_for_Windows_10_LTSC_2021/Manifest/Sophia.psd1 +++ b/src/Sophia_Script_for_Windows_10_LTSC_2021/Manifest/Sophia.psd1 @@ -3,7 +3,7 @@ ModuleVersion = '5.19.3' GUID = '109cc881-c42b-45af-a74a-550781989d6a' Author = 'Dmitry "farag" Nefedov' - Copyright = '(c) 2014—2024 farag, Inestic & lowl1f3. All rights reserved' + Copyright = '(c) 2014—2025 farag, Inestic & lowl1f3. All rights reserved' Description = 'Module for Windows fine-tuning and automating the routine tasks' PowerShellVersion = '5.1' ProcessorArchitecture = 'AMD64' diff --git a/src/Sophia_Script_for_Windows_10_LTSC_2021/Module/Sophia.psm1 b/src/Sophia_Script_for_Windows_10_LTSC_2021/Module/Sophia.psm1 index f4bd7858..910a2210 100644 --- a/src/Sophia_Script_for_Windows_10_LTSC_2021/Module/Sophia.psm1 +++ b/src/Sophia_Script_for_Windows_10_LTSC_2021/Module/Sophia.psm1 @@ -2,25 +2,32 @@ .SYNOPSIS Sophia Script is a PowerShell module for Windows 10 & Windows 11 fine-tuning and automating the routine tasks - Version: 5.19.3 - Date: 28.11.2024 + .VERSION + 5.9.3 - Copyright (c) 2014—2024 farag, Inestic & lowl1f3 + .DATE + 28.11.2024 + .AUTHOR + farag, Inestic & lowl1f3 + + .COPYRIGHT + (c) 2014—2025 + + .THANKS Thanks to all https://forum.ru-board.com members involved .NOTES - Supported Windows 10 Enterprise LTSC 2021 - Architecture: x64 + Supports Windows 10 x64 Enterprise LTSC 2021 - .LINK GitHub + .LINK https://github.com/farag2/Sophia-Script-for-Windows - .LINK Telegram + .LINK https://t.me/sophianews https://t.me/sophia_chat - .LINK Discord + .LINK https://discord.gg/sSryhaEv79 .NOTES @@ -29,7 +36,7 @@ https://forums.mydigitallife.net/threads/powershell-sophia-script-for-windows-10-windows-11-5-17-8-6-5-8-x64-2023.81675/ https://www.reddit.com/r/PowerShell/comments/go2n5v/powershell_script_setup_windows_10/ - .LINK Authors + .LINK https://github.com/farag2 https://github.com/Inestic https://github.com/lowl1f3 @@ -11951,27 +11958,27 @@ function DNSoverHTTPS # https://www.comss.ru/page.php?id=7315 if (-not (Get-CimInstance -ClassName CIM_ComputerSystem).HypervisorPresent) { - Get-NetAdapter -Physical | Get-NetIPInterface -AddressFamily IPv4 | Set-DnsClientServerAddress -ServerAddresses 195.133.25.16, 195.133.25.99 + Get-NetAdapter -Physical | Get-NetIPInterface -AddressFamily IPv4 | Set-DnsClientServerAddress -ServerAddresses 83.220.169.155, 195.133.25.16 } else { - Get-NetRoute | Where-Object -FilterScript {$_.DestinationPrefix -eq "0.0.0.0/0"} | Get-NetAdapter | Set-DnsClientServerAddress -ServerAddresses 195.133.25.16, 195.133.25.99 + Get-NetRoute | Where-Object -FilterScript {$_.DestinationPrefix -eq "0.0.0.0/0"} | Get-NetAdapter | Set-DnsClientServerAddress -ServerAddresses 83.220.169.155, 195.133.25.16 } foreach ($InterfaceGuid in $InterfaceGuids) { - if (-not (Test-Path -Path "HKLM:\SYSTEM\CurrentControlSet\Services\Dnscache\InterfaceSpecificParameters\$InterfaceGuid\DohInterfaceSettings\Doh\195.133.25.16")) + if (-not (Test-Path -Path "HKLM:\SYSTEM\CurrentControlSet\Services\Dnscache\InterfaceSpecificParameters\$InterfaceGuid\DohInterfaceSettings\Doh\83.220.169.155")) { - New-Item -Path "HKLM:\SYSTEM\CurrentControlSet\Services\Dnscache\InterfaceSpecificParameters\$InterfaceGuid\DohInterfaceSettings\Doh\195.133.25.16" -Force + New-Item -Path "HKLM:\SYSTEM\CurrentControlSet\Services\Dnscache\InterfaceSpecificParameters\$InterfaceGuid\DohInterfaceSettings\Doh\83.220.169.155" -Force } - if (-not (Test-Path -Path "HKLM:\SYSTEM\CurrentControlSet\Services\Dnscache\InterfaceSpecificParameters\$InterfaceGuid\DohInterfaceSettings\Doh\195.133.25.99")) + if (-not (Test-Path -Path "HKLM:\SYSTEM\CurrentControlSet\Services\Dnscache\InterfaceSpecificParameters\$InterfaceGuid\DohInterfaceSettings\Doh\195.133.25.16")) { - New-Item -Path "HKLM:\SYSTEM\CurrentControlSet\Services\Dnscache\InterfaceSpecificParameters\$InterfaceGuid\DohInterfaceSettings\Doh\195.133.25.99" -Force + New-Item -Path "HKLM:\SYSTEM\CurrentControlSet\Services\Dnscache\InterfaceSpecificParameters\$InterfaceGuid\DohInterfaceSettings\Doh\195.133.25.16" -Force } + New-ItemProperty -Path "HKLM:\SYSTEM\CurrentControlSet\Services\Dnscache\InterfaceSpecificParameters\$InterfaceGuid\DohInterfaceSettings\Doh\83.220.169.155" -Name DohFlags -PropertyType QWord -Value 2 -Force + New-ItemProperty -Path "HKLM:\SYSTEM\CurrentControlSet\Services\Dnscache\InterfaceSpecificParameters\$InterfaceGuid\DohInterfaceSettings\Doh\83.220.169.155" -Name DohTemplate -PropertyType String -Value https://dns.comss.one/dns-query -Force New-ItemProperty -Path "HKLM:\SYSTEM\CurrentControlSet\Services\Dnscache\InterfaceSpecificParameters\$InterfaceGuid\DohInterfaceSettings\Doh\195.133.25.16" -Name DohFlags -PropertyType QWord -Value 2 -Force New-ItemProperty -Path "HKLM:\SYSTEM\CurrentControlSet\Services\Dnscache\InterfaceSpecificParameters\$InterfaceGuid\DohInterfaceSettings\Doh\195.133.25.16" -Name DohTemplate -PropertyType String -Value https://dns.comss.one/dns-query -Force - New-ItemProperty -Path "HKLM:\SYSTEM\CurrentControlSet\Services\Dnscache\InterfaceSpecificParameters\$InterfaceGuid\DohInterfaceSettings\Doh\195.133.25.99" -Name DohFlags -PropertyType QWord -Value 2 -Force - New-ItemProperty -Path "HKLM:\SYSTEM\CurrentControlSet\Services\Dnscache\InterfaceSpecificParameters\$InterfaceGuid\DohInterfaceSettings\Doh\195.133.25.99" -Name DohTemplate -PropertyType String -Value https://dns.comss.one/dns-query -Force } } "Disable" diff --git a/src/Sophia_Script_for_Windows_10_LTSC_2021/Sophia.ps1 b/src/Sophia_Script_for_Windows_10_LTSC_2021/Sophia.ps1 index 3f25f99c..aea54d6e 100644 --- a/src/Sophia_Script_for_Windows_10_LTSC_2021/Sophia.ps1 +++ b/src/Sophia_Script_for_Windows_10_LTSC_2021/Sophia.ps1 @@ -5,7 +5,7 @@ Version: 5.19.3 Date: 28.11.2024 - Copyright (c) 2014—2024 farag, Inestic & lowl1f3 + Copyright (c) 2014—2025 farag, Inestic & lowl1f3 Thanks to all https://forum.ru-board.com members involved @@ -48,7 +48,7 @@ https://forums.mydigitallife.net/threads/powershell-sophia-script-for-windows-10-windows-11-5-17-8-6-5-8-x64-2023.81675/ https://www.reddit.com/r/PowerShell/comments/go2n5v/powershell_script_setup_windows_10/ - .LINK Authors + .LINK https://github.com/farag2 https://github.com/Inestic https://github.com/lowl1f3 diff --git a/src/Sophia_Script_for_Windows_10_PowerShell_7/Functions.ps1 b/src/Sophia_Script_for_Windows_10_PowerShell_7/Functions.ps1 index 2565851f..d641b5af 100644 --- a/src/Sophia_Script_for_Windows_10_PowerShell_7/Functions.ps1 +++ b/src/Sophia_Script_for_Windows_10_PowerShell_7/Functions.ps1 @@ -5,7 +5,7 @@ Version: 5.19.3 Date: 28.11.2024 - Copyright (c) 2014—2024 farag, Inestic & lowl1f3 + Copyright (c) 2014—2025 farag, Inestic & lowl1f3 Thanks to all https://forum.ru-board.com members involved diff --git a/src/Sophia_Script_for_Windows_10_PowerShell_7/Manifest/Sophia.psd1 b/src/Sophia_Script_for_Windows_10_PowerShell_7/Manifest/Sophia.psd1 index 11c7e98c..4ba8d881 100644 --- a/src/Sophia_Script_for_Windows_10_PowerShell_7/Manifest/Sophia.psd1 +++ b/src/Sophia_Script_for_Windows_10_PowerShell_7/Manifest/Sophia.psd1 @@ -3,7 +3,7 @@ ModuleVersion = '5.19.3' GUID = 'aa0b47a7-1770-4b5d-8c9f-cc6c505bcc7a' Author = 'Dmitry "farag" Nefedov' - Copyright = '(c) 2014—2024 farag, Inestic & lowl1f3. All rights reserved' + Copyright = '(c) 2014—2025 farag, Inestic & lowl1f3. All rights reserved' Description = 'Module for Windows fine-tuning and automating the routine tasks' PowerShellVersion = '7.4' ProcessorArchitecture = 'AMD64' 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 75992585..a93b350d 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 @@ -2,27 +2,32 @@ .SYNOPSIS Sophia Script is a PowerShell module for Windows 10 & Windows 11 fine-tuning and automating the routine tasks - Version: 5.19.3 - Date: 28.11.2024 + .VERSION + 5.19.3 - Copyright (c) 2014—2024 farag, Inestic & lowl1f3 + .DATE + 28.11.2024 + .AUTHOR + farag, Inestic & lowl1f3 + + .COPYRIGHT + (c) 2014—2025 + + .THANKS Thanks to all https://forum.ru-board.com members involved .NOTES - Supported Windows 10 versions - Version: 22H2 - Editions: Home/Pro/Enterprise - Architecture: x64 + Supports Windows 10 22H2 x64 Home/Pro/Enterprise - .LINK GitHub + .LINK https://github.com/farag2/Sophia-Script-for-Windows - .LINK Telegram + .LINK https://t.me/sophianews https://t.me/sophia_chat - .LINK Discord + .LINK https://discord.gg/sSryhaEv79 .NOTES @@ -31,7 +36,7 @@ https://forums.mydigitallife.net/threads/powershell-sophia-script-for-windows-10-windows-11-5-17-8-6-5-8-x64-2023.81675/ https://www.reddit.com/r/PowerShell/comments/go2n5v/powershell_script_setup_windows_10/ - .LINK Authors + .LINK https://github.com/farag2 https://github.com/Inestic https://github.com/lowl1f3 @@ -14096,27 +14101,27 @@ function DNSoverHTTPS # https://www.comss.ru/page.php?id=7315 if (-not (Get-CimInstance -ClassName CIM_ComputerSystem).HypervisorPresent) { - Get-NetAdapter -Physical | Get-NetIPInterface -AddressFamily IPv4 | Set-DnsClientServerAddress -ServerAddresses 195.133.25.16, 195.133.25.99 + Get-NetAdapter -Physical | Get-NetIPInterface -AddressFamily IPv4 | Set-DnsClientServerAddress -ServerAddresses 83.220.169.155, 195.133.25.16 } else { - Get-NetRoute | Where-Object -FilterScript {$_.DestinationPrefix -eq "0.0.0.0/0"} | Get-NetAdapter | Set-DnsClientServerAddress -ServerAddresses 195.133.25.16, 195.133.25.99 + Get-NetRoute | Where-Object -FilterScript {$_.DestinationPrefix -eq "0.0.0.0/0"} | Get-NetAdapter | Set-DnsClientServerAddress -ServerAddresses 83.220.169.155, 195.133.25.16 } foreach ($InterfaceGuid in $InterfaceGuids) { - if (-not (Test-Path -Path "HKLM:\SYSTEM\CurrentControlSet\Services\Dnscache\InterfaceSpecificParameters\$InterfaceGuid\DohInterfaceSettings\Doh\195.133.25.16")) + if (-not (Test-Path -Path "HKLM:\SYSTEM\CurrentControlSet\Services\Dnscache\InterfaceSpecificParameters\$InterfaceGuid\DohInterfaceSettings\Doh\83.220.169.155")) { - New-Item -Path "HKLM:\SYSTEM\CurrentControlSet\Services\Dnscache\InterfaceSpecificParameters\$InterfaceGuid\DohInterfaceSettings\Doh\195.133.25.16" -Force + New-Item -Path "HKLM:\SYSTEM\CurrentControlSet\Services\Dnscache\InterfaceSpecificParameters\$InterfaceGuid\DohInterfaceSettings\Doh\83.220.169.155" -Force } - if (-not (Test-Path -Path "HKLM:\SYSTEM\CurrentControlSet\Services\Dnscache\InterfaceSpecificParameters\$InterfaceGuid\DohInterfaceSettings\Doh\195.133.25.99")) + if (-not (Test-Path -Path "HKLM:\SYSTEM\CurrentControlSet\Services\Dnscache\InterfaceSpecificParameters\$InterfaceGuid\DohInterfaceSettings\Doh\195.133.25.16")) { - New-Item -Path "HKLM:\SYSTEM\CurrentControlSet\Services\Dnscache\InterfaceSpecificParameters\$InterfaceGuid\DohInterfaceSettings\Doh\195.133.25.99" -Force + New-Item -Path "HKLM:\SYSTEM\CurrentControlSet\Services\Dnscache\InterfaceSpecificParameters\$InterfaceGuid\DohInterfaceSettings\Doh\195.133.25.16" -Force } + New-ItemProperty -Path "HKLM:\SYSTEM\CurrentControlSet\Services\Dnscache\InterfaceSpecificParameters\$InterfaceGuid\DohInterfaceSettings\Doh\83.220.169.155" -Name DohFlags -PropertyType QWord -Value 2 -Force + New-ItemProperty -Path "HKLM:\SYSTEM\CurrentControlSet\Services\Dnscache\InterfaceSpecificParameters\$InterfaceGuid\DohInterfaceSettings\Doh\83.220.169.155" -Name DohTemplate -PropertyType String -Value https://dns.comss.one/dns-query -Force New-ItemProperty -Path "HKLM:\SYSTEM\CurrentControlSet\Services\Dnscache\InterfaceSpecificParameters\$InterfaceGuid\DohInterfaceSettings\Doh\195.133.25.16" -Name DohFlags -PropertyType QWord -Value 2 -Force New-ItemProperty -Path "HKLM:\SYSTEM\CurrentControlSet\Services\Dnscache\InterfaceSpecificParameters\$InterfaceGuid\DohInterfaceSettings\Doh\195.133.25.16" -Name DohTemplate -PropertyType String -Value https://dns.comss.one/dns-query -Force - New-ItemProperty -Path "HKLM:\SYSTEM\CurrentControlSet\Services\Dnscache\InterfaceSpecificParameters\$InterfaceGuid\DohInterfaceSettings\Doh\195.133.25.99" -Name DohFlags -PropertyType QWord -Value 2 -Force - New-ItemProperty -Path "HKLM:\SYSTEM\CurrentControlSet\Services\Dnscache\InterfaceSpecificParameters\$InterfaceGuid\DohInterfaceSettings\Doh\195.133.25.99" -Name DohTemplate -PropertyType String -Value https://dns.comss.one/dns-query -Force } } "Disable" diff --git a/src/Sophia_Script_for_Windows_10_PowerShell_7/Sophia.ps1 b/src/Sophia_Script_for_Windows_10_PowerShell_7/Sophia.ps1 index 14d9bb3b..a8f43068 100644 --- a/src/Sophia_Script_for_Windows_10_PowerShell_7/Sophia.ps1 +++ b/src/Sophia_Script_for_Windows_10_PowerShell_7/Sophia.ps1 @@ -5,7 +5,7 @@ Version: 5.19.3 Date: 28.11.2024 - Copyright (c) 2014—2024 farag, Inestic & lowl1f3 + Copyright (c) 2014—2025 farag, Inestic & lowl1f3 Thanks to all https://forum.ru-board.com members involved @@ -50,7 +50,7 @@ https://forums.mydigitallife.net/threads/powershell-sophia-script-for-windows-10-windows-11-5-17-8-6-5-8-x64-2023.81675/ https://www.reddit.com/r/PowerShell/comments/go2n5v/powershell_script_setup_windows_10/ - .LINK Authors + .LINK https://github.com/farag2 https://github.com/Inestic https://github.com/lowl1f3 diff --git a/src/Sophia_Script_for_Windows_11/Functions.ps1 b/src/Sophia_Script_for_Windows_11/Functions.ps1 index 932f28c9..d8582d08 100644 --- a/src/Sophia_Script_for_Windows_11/Functions.ps1 +++ b/src/Sophia_Script_for_Windows_11/Functions.ps1 @@ -5,7 +5,7 @@ Version: 6.7.3 Date: 28.11.2024 - Copyright (c) 2014—2024 farag, Inestic & lowl1f3 + Copyright (c) 2014—2025 farag, Inestic & lowl1f3 Thanks to all https://forum.ru-board.com members involved diff --git a/src/Sophia_Script_for_Windows_11/Manifest/Sophia.psd1 b/src/Sophia_Script_for_Windows_11/Manifest/Sophia.psd1 index 8aa98739..c4a320f7 100644 --- a/src/Sophia_Script_for_Windows_11/Manifest/Sophia.psd1 +++ b/src/Sophia_Script_for_Windows_11/Manifest/Sophia.psd1 @@ -3,7 +3,7 @@ ModuleVersion = '6.7.3' GUID = '109cc881-c42b-45af-a74a-550781989d6a' Author = 'Dmitry "farag" Nefedov' - Copyright = '(c) 2014—2024 farag, Inestic & lowl1f3. All rights reserved' + Copyright = '(c) 2014—2025 farag, Inestic & lowl1f3. All rights reserved' Description = 'Module for Windows fine-tuning and automating the routine tasks' PowerShellVersion = '5.1' ProcessorArchitecture = 'AMD64' diff --git a/src/Sophia_Script_for_Windows_11/Module/Sophia.psm1 b/src/Sophia_Script_for_Windows_11/Module/Sophia.psm1 index f8f63f2a..5b0acae6 100644 --- a/src/Sophia_Script_for_Windows_11/Module/Sophia.psm1 +++ b/src/Sophia_Script_for_Windows_11/Module/Sophia.psm1 @@ -2,26 +2,32 @@ .SYNOPSIS Sophia Script is a PowerShell module for Windows 10 & Windows 11 fine-tuning and automating the routine tasks - Version: 6.7.3 - Date: 28.11.2024 + .VERSION + 6.7.3 - Copyright (c) 2014—2024 farag, Inestic & lowl1f3 + .DATE + 28.11.2024 + .AUTHOR + farag, Inestic & lowl1f3 + + .COPYRIGHT + (c) 2014—2025 + + .THANKS Thanks to all https://forum.ru-board.com members involved .NOTES - Supported Windows 11 versions - Version: 23H2+ - Editions: Home/Pro/Enterprise + Supports Windows 11 23H2+ Home/Pro/Enterprise - .LINK GitHub + .LINK https://github.com/farag2/Sophia-Script-for-Windows - .LINK Telegram + .LINK https://t.me/sophianews https://t.me/sophia_chat - .LINK Discord + .LINK https://discord.gg/sSryhaEv79 .NOTES @@ -30,7 +36,7 @@ https://forums.mydigitallife.net/threads/powershell-sophia-script-for-windows-10-windows-11-5-17-8-6-5-8-x64-2023.81675/ https://www.reddit.com/r/PowerShell/comments/go2n5v/powershell_script_setup_windows_10/ - .LINK Authors + .LINK https://github.com/farag2 https://github.com/Inestic https://github.com/lowl1f3 @@ -13103,27 +13109,27 @@ function DNSoverHTTPS # https://www.comss.ru/page.php?id=7315 if (-not (Get-CimInstance -ClassName CIM_ComputerSystem).HypervisorPresent) { - Get-NetAdapter -Physical | Get-NetIPInterface -AddressFamily IPv4 | Set-DnsClientServerAddress -ServerAddresses 195.133.25.16, 195.133.25.99 + Get-NetAdapter -Physical | Get-NetIPInterface -AddressFamily IPv4 | Set-DnsClientServerAddress -ServerAddresses 83.220.169.155, 195.133.25.16 } else { - Get-NetRoute | Where-Object -FilterScript {$_.DestinationPrefix -eq "0.0.0.0/0"} | Get-NetAdapter | Set-DnsClientServerAddress -ServerAddresses 195.133.25.16, 195.133.25.99 + Get-NetRoute | Where-Object -FilterScript {$_.DestinationPrefix -eq "0.0.0.0/0"} | Get-NetAdapter | Set-DnsClientServerAddress -ServerAddresses 83.220.169.155, 195.133.25.16 } foreach ($InterfaceGuid in $InterfaceGuids) { - if (-not (Test-Path -Path "HKLM:\SYSTEM\CurrentControlSet\Services\Dnscache\InterfaceSpecificParameters\$InterfaceGuid\DohInterfaceSettings\Doh\195.133.25.16")) + if (-not (Test-Path -Path "HKLM:\SYSTEM\CurrentControlSet\Services\Dnscache\InterfaceSpecificParameters\$InterfaceGuid\DohInterfaceSettings\Doh\83.220.169.155")) { - New-Item -Path "HKLM:\SYSTEM\CurrentControlSet\Services\Dnscache\InterfaceSpecificParameters\$InterfaceGuid\DohInterfaceSettings\Doh\195.133.25.16" -Force + New-Item -Path "HKLM:\SYSTEM\CurrentControlSet\Services\Dnscache\InterfaceSpecificParameters\$InterfaceGuid\DohInterfaceSettings\Doh\83.220.169.155" -Force } - if (-not (Test-Path -Path "HKLM:\SYSTEM\CurrentControlSet\Services\Dnscache\InterfaceSpecificParameters\$InterfaceGuid\DohInterfaceSettings\Doh\195.133.25.99")) + if (-not (Test-Path -Path "HKLM:\SYSTEM\CurrentControlSet\Services\Dnscache\InterfaceSpecificParameters\$InterfaceGuid\DohInterfaceSettings\Doh\195.133.25.16")) { - New-Item -Path "HKLM:\SYSTEM\CurrentControlSet\Services\Dnscache\InterfaceSpecificParameters\$InterfaceGuid\DohInterfaceSettings\Doh\195.133.25.99" -Force + New-Item -Path "HKLM:\SYSTEM\CurrentControlSet\Services\Dnscache\InterfaceSpecificParameters\$InterfaceGuid\DohInterfaceSettings\Doh\195.133.25.16" -Force } + New-ItemProperty -Path "HKLM:\SYSTEM\CurrentControlSet\Services\Dnscache\InterfaceSpecificParameters\$InterfaceGuid\DohInterfaceSettings\Doh\83.220.169.155" -Name DohFlags -PropertyType QWord -Value 2 -Force + New-ItemProperty -Path "HKLM:\SYSTEM\CurrentControlSet\Services\Dnscache\InterfaceSpecificParameters\$InterfaceGuid\DohInterfaceSettings\Doh\83.220.169.155" -Name DohTemplate -PropertyType String -Value https://dns.comss.one/dns-query -Force New-ItemProperty -Path "HKLM:\SYSTEM\CurrentControlSet\Services\Dnscache\InterfaceSpecificParameters\$InterfaceGuid\DohInterfaceSettings\Doh\195.133.25.16" -Name DohFlags -PropertyType QWord -Value 2 -Force New-ItemProperty -Path "HKLM:\SYSTEM\CurrentControlSet\Services\Dnscache\InterfaceSpecificParameters\$InterfaceGuid\DohInterfaceSettings\Doh\195.133.25.16" -Name DohTemplate -PropertyType String -Value https://dns.comss.one/dns-query -Force - New-ItemProperty -Path "HKLM:\SYSTEM\CurrentControlSet\Services\Dnscache\InterfaceSpecificParameters\$InterfaceGuid\DohInterfaceSettings\Doh\195.133.25.99" -Name DohFlags -PropertyType QWord -Value 2 -Force - New-ItemProperty -Path "HKLM:\SYSTEM\CurrentControlSet\Services\Dnscache\InterfaceSpecificParameters\$InterfaceGuid\DohInterfaceSettings\Doh\195.133.25.99" -Name DohTemplate -PropertyType String -Value https://dns.comss.one/dns-query -Force } } "Disable" diff --git a/src/Sophia_Script_for_Windows_11/Sophia.ps1 b/src/Sophia_Script_for_Windows_11/Sophia.ps1 index f289dd56..c8c77f89 100644 --- a/src/Sophia_Script_for_Windows_11/Sophia.ps1 +++ b/src/Sophia_Script_for_Windows_11/Sophia.ps1 @@ -5,7 +5,7 @@ Version: 6.7.3 Date: 28.11.2024 - Copyright (c) 2014—2024 farag, Inestic & lowl1f3 + Copyright (c) 2014—2025 farag, Inestic & lowl1f3 Thanks to all https://forum.ru-board.com members involved @@ -49,7 +49,7 @@ https://forums.mydigitallife.net/threads/powershell-sophia-script-for-windows-10-windows-11-5-17-8-6-5-8-x64-2023.81675/ https://www.reddit.com/r/PowerShell/comments/go2n5v/powershell_script_setup_windows_10/ - .LINK Authors + .LINK https://github.com/farag2 https://github.com/Inestic https://github.com/lowl1f3 diff --git a/src/Sophia_Script_for_Windows_11_LTSC_2024/Functions.ps1 b/src/Sophia_Script_for_Windows_11_LTSC_2024/Functions.ps1 index 0c67785d..9be5f9e9 100644 --- a/src/Sophia_Script_for_Windows_11_LTSC_2024/Functions.ps1 +++ b/src/Sophia_Script_for_Windows_11_LTSC_2024/Functions.ps1 @@ -3,9 +3,9 @@ The TAB completion for functions and their arguments Version: 6.7.3 - Date: 04.10.2024 + Date: 28.11.2024 - Copyright (c) 2014—2024 farag, Inestic & lowl1f3 + Copyright (c) 2014—2025 farag, Inestic & lowl1f3 Thanks to all https://forum.ru-board.com members involved diff --git a/src/Sophia_Script_for_Windows_11_LTSC_2024/Manifest/Sophia.psd1 b/src/Sophia_Script_for_Windows_11_LTSC_2024/Manifest/Sophia.psd1 index 8aa98739..c4a320f7 100644 --- a/src/Sophia_Script_for_Windows_11_LTSC_2024/Manifest/Sophia.psd1 +++ b/src/Sophia_Script_for_Windows_11_LTSC_2024/Manifest/Sophia.psd1 @@ -3,7 +3,7 @@ ModuleVersion = '6.7.3' GUID = '109cc881-c42b-45af-a74a-550781989d6a' Author = 'Dmitry "farag" Nefedov' - Copyright = '(c) 2014—2024 farag, Inestic & lowl1f3. All rights reserved' + Copyright = '(c) 2014—2025 farag, Inestic & lowl1f3. All rights reserved' Description = 'Module for Windows fine-tuning and automating the routine tasks' PowerShellVersion = '5.1' ProcessorArchitecture = 'AMD64' diff --git a/src/Sophia_Script_for_Windows_11_LTSC_2024/Module/Sophia.psm1 b/src/Sophia_Script_for_Windows_11_LTSC_2024/Module/Sophia.psm1 index 47377d7e..52ff605c 100644 --- a/src/Sophia_Script_for_Windows_11_LTSC_2024/Module/Sophia.psm1 +++ b/src/Sophia_Script_for_Windows_11_LTSC_2024/Module/Sophia.psm1 @@ -2,24 +2,32 @@ .SYNOPSIS Sophia Script is a PowerShell module for Windows 10 & Windows 11 fine-tuning and automating the routine tasks - Version: 6.7.3 - Date: 28.11.2024 + .VERSION + 6.7.3 - Copyright (c) 2014—2024 farag, Inestic & lowl1f3 + .DATE + 28.11.2024 + .AUTHOR + farag, Inestic & lowl1f3 + + .COPYRIGHT + (c) 2014—2025 + + .THANKS Thanks to all https://forum.ru-board.com members involved .NOTES - Supported Windows 11 Enterprise LTSC 2024 + Supports Windows 11 Enterprise LTSC 2024 - .LINK GitHub + .LINK https://github.com/farag2/Sophia-Script-for-Windows - .LINK Telegram + .LINK https://t.me/sophianews https://t.me/sophia_chat - .LINK Discord + .LINK https://discord.gg/sSryhaEv79 .NOTES @@ -28,7 +36,7 @@ https://forums.mydigitallife.net/threads/powershell-sophia-script-for-windows-10-windows-11-5-17-8-6-5-8-x64-2023.81675/ https://www.reddit.com/r/PowerShell/comments/go2n5v/powershell_script_setup_windows_10/ - .LINK Authors + .LINK https://github.com/farag2 https://github.com/Inestic https://github.com/lowl1f3 @@ -12383,27 +12391,27 @@ function DNSoverHTTPS # https://www.comss.ru/page.php?id=7315 if (-not (Get-CimInstance -ClassName CIM_ComputerSystem).HypervisorPresent) { - Get-NetAdapter -Physical | Get-NetIPInterface -AddressFamily IPv4 | Set-DnsClientServerAddress -ServerAddresses 195.133.25.16, 195.133.25.99 + Get-NetAdapter -Physical | Get-NetIPInterface -AddressFamily IPv4 | Set-DnsClientServerAddress -ServerAddresses 83.220.169.155, 195.133.25.16 } else { - Get-NetRoute | Where-Object -FilterScript {$_.DestinationPrefix -eq "0.0.0.0/0"} | Get-NetAdapter | Set-DnsClientServerAddress -ServerAddresses 195.133.25.16, 195.133.25.99 + Get-NetRoute | Where-Object -FilterScript {$_.DestinationPrefix -eq "0.0.0.0/0"} | Get-NetAdapter | Set-DnsClientServerAddress -ServerAddresses 83.220.169.155, 195.133.25.16 } foreach ($InterfaceGuid in $InterfaceGuids) { - if (-not (Test-Path -Path "HKLM:\SYSTEM\CurrentControlSet\Services\Dnscache\InterfaceSpecificParameters\$InterfaceGuid\DohInterfaceSettings\Doh\195.133.25.16")) + if (-not (Test-Path -Path "HKLM:\SYSTEM\CurrentControlSet\Services\Dnscache\InterfaceSpecificParameters\$InterfaceGuid\DohInterfaceSettings\Doh\83.220.169.155")) { - New-Item -Path "HKLM:\SYSTEM\CurrentControlSet\Services\Dnscache\InterfaceSpecificParameters\$InterfaceGuid\DohInterfaceSettings\Doh\195.133.25.16" -Force + New-Item -Path "HKLM:\SYSTEM\CurrentControlSet\Services\Dnscache\InterfaceSpecificParameters\$InterfaceGuid\DohInterfaceSettings\Doh\83.220.169.155" -Force } - if (-not (Test-Path -Path "HKLM:\SYSTEM\CurrentControlSet\Services\Dnscache\InterfaceSpecificParameters\$InterfaceGuid\DohInterfaceSettings\Doh\195.133.25.99")) + if (-not (Test-Path -Path "HKLM:\SYSTEM\CurrentControlSet\Services\Dnscache\InterfaceSpecificParameters\$InterfaceGuid\DohInterfaceSettings\Doh\195.133.25.16")) { - New-Item -Path "HKLM:\SYSTEM\CurrentControlSet\Services\Dnscache\InterfaceSpecificParameters\$InterfaceGuid\DohInterfaceSettings\Doh\195.133.25.99" -Force + New-Item -Path "HKLM:\SYSTEM\CurrentControlSet\Services\Dnscache\InterfaceSpecificParameters\$InterfaceGuid\DohInterfaceSettings\Doh\195.133.25.16" -Force } + New-ItemProperty -Path "HKLM:\SYSTEM\CurrentControlSet\Services\Dnscache\InterfaceSpecificParameters\$InterfaceGuid\DohInterfaceSettings\Doh\83.220.169.155" -Name DohFlags -PropertyType QWord -Value 2 -Force + New-ItemProperty -Path "HKLM:\SYSTEM\CurrentControlSet\Services\Dnscache\InterfaceSpecificParameters\$InterfaceGuid\DohInterfaceSettings\Doh\83.220.169.155" -Name DohTemplate -PropertyType String -Value https://dns.comss.one/dns-query -Force New-ItemProperty -Path "HKLM:\SYSTEM\CurrentControlSet\Services\Dnscache\InterfaceSpecificParameters\$InterfaceGuid\DohInterfaceSettings\Doh\195.133.25.16" -Name DohFlags -PropertyType QWord -Value 2 -Force New-ItemProperty -Path "HKLM:\SYSTEM\CurrentControlSet\Services\Dnscache\InterfaceSpecificParameters\$InterfaceGuid\DohInterfaceSettings\Doh\195.133.25.16" -Name DohTemplate -PropertyType String -Value https://dns.comss.one/dns-query -Force - New-ItemProperty -Path "HKLM:\SYSTEM\CurrentControlSet\Services\Dnscache\InterfaceSpecificParameters\$InterfaceGuid\DohInterfaceSettings\Doh\195.133.25.99" -Name DohFlags -PropertyType QWord -Value 2 -Force - New-ItemProperty -Path "HKLM:\SYSTEM\CurrentControlSet\Services\Dnscache\InterfaceSpecificParameters\$InterfaceGuid\DohInterfaceSettings\Doh\195.133.25.99" -Name DohTemplate -PropertyType String -Value https://dns.comss.one/dns-query -Force } } "Disable" diff --git a/src/Sophia_Script_for_Windows_11_LTSC_2024/Sophia.ps1 b/src/Sophia_Script_for_Windows_11_LTSC_2024/Sophia.ps1 index 05b1fb67..13c16b8a 100644 --- a/src/Sophia_Script_for_Windows_11_LTSC_2024/Sophia.ps1 +++ b/src/Sophia_Script_for_Windows_11_LTSC_2024/Sophia.ps1 @@ -5,7 +5,7 @@ Version: 6.7.3 Date: 28.11.2024 - Copyright (c) 2014—2024 farag, Inestic & lowl1f3 + Copyright (c) 2014—2025 farag, Inestic & lowl1f3 Thanks to all https://forum.ru-board.com members involved @@ -47,7 +47,7 @@ https://forums.mydigitallife.net/threads/powershell-sophia-script-for-windows-10-windows-11-5-17-8-6-5-8-x64-2023.81675/ https://www.reddit.com/r/PowerShell/comments/go2n5v/powershell_script_setup_windows_10/ - .LINK Authors + .LINK https://github.com/farag2 https://github.com/Inestic https://github.com/lowl1f3 diff --git a/src/Sophia_Script_for_Windows_11_PowerShell_7/Functions.ps1 b/src/Sophia_Script_for_Windows_11_PowerShell_7/Functions.ps1 index db831c10..0914056f 100644 --- a/src/Sophia_Script_for_Windows_11_PowerShell_7/Functions.ps1 +++ b/src/Sophia_Script_for_Windows_11_PowerShell_7/Functions.ps1 @@ -5,7 +5,7 @@ Version: 6.7.3 Date: 28.11.2024 - Copyright (c) 2014—2024 farag, Inestic & lowl1f3 + Copyright (c) 2014—2025 farag, Inestic & lowl1f3 Thanks to all https://forum.ru-board.com members involved diff --git a/src/Sophia_Script_for_Windows_11_PowerShell_7/Manifest/Sophia.psd1 b/src/Sophia_Script_for_Windows_11_PowerShell_7/Manifest/Sophia.psd1 index 257f75eb..186594ab 100644 --- a/src/Sophia_Script_for_Windows_11_PowerShell_7/Manifest/Sophia.psd1 +++ b/src/Sophia_Script_for_Windows_11_PowerShell_7/Manifest/Sophia.psd1 @@ -3,7 +3,7 @@ ModuleVersion = '6.7.3' GUID = '109cc881-c42b-45af-a74a-550781989d6a' Author = 'Dmitry "farag" Nefedov' - Copyright = '(c) 2014—2024 farag, Inestic & lowl1f3. All rights reserved' + Copyright = '(c) 2014—2025 farag, Inestic & lowl1f3. All rights reserved' Description = 'Module for Windows fine-tuning and automating the routine tasks' PowerShellVersion = '7.4' ProcessorArchitecture = 'AMD64' 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 d78b57b5..4272a1b5 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 @@ -2,26 +2,32 @@ .SYNOPSIS Sophia Script is a PowerShell module for Windows 10 & Windows 11 fine-tuning and automating the routine tasks - Version: 6.7.3 - Date: 28.11.2024 + .VERSION + 6.7.3 - Copyright (c) 2014—2024 farag, Inestic & lowl1f3 + .DATE + 28.11.2024 + .AUTHOR + farag, Inestic & lowl1f3 + + .COPYRIGHT + (c) 2014—2025 + + .THANKS Thanks to all https://forum.ru-board.com members involved .NOTES - Supported Windows 11 versions - Version: 23H2+ - Editions: Home/Pro/Enterprise + Supports Windows 11 23H2+ Home/Pro/Enterprise - .LINK GitHub + .LINK https://github.com/farag2/Sophia-Script-for-Windows - .LINK Telegram + .LINK https://t.me/sophianews https://t.me/sophia_chat - .LINK Discord + .LINK https://discord.gg/sSryhaEv79 .NOTES @@ -30,7 +36,7 @@ https://forums.mydigitallife.net/threads/powershell-sophia-script-for-windows-10-windows-11-5-17-8-6-5-8-x64-2023.81675/ https://www.reddit.com/r/PowerShell/comments/go2n5v/powershell_script_setup_windows_10/ - .LINK Authors + .LINK https://github.com/farag2 https://github.com/Inestic https://github.com/lowl1f3 @@ -13120,27 +13126,27 @@ function DNSoverHTTPS # https://www.comss.ru/page.php?id=7315 if (-not (Get-CimInstance -ClassName CIM_ComputerSystem).HypervisorPresent) { - Get-NetAdapter -Physical | Get-NetIPInterface -AddressFamily IPv4 | Set-DnsClientServerAddress -ServerAddresses 195.133.25.16, 195.133.25.99 + Get-NetAdapter -Physical | Get-NetIPInterface -AddressFamily IPv4 | Set-DnsClientServerAddress -ServerAddresses 83.220.169.155, 195.133.25.16 } else { - Get-NetRoute | Where-Object -FilterScript {$_.DestinationPrefix -eq "0.0.0.0/0"} | Get-NetAdapter | Set-DnsClientServerAddress -ServerAddresses 195.133.25.16, 195.133.25.99 + Get-NetRoute | Where-Object -FilterScript {$_.DestinationPrefix -eq "0.0.0.0/0"} | Get-NetAdapter | Set-DnsClientServerAddress -ServerAddresses 83.220.169.155, 195.133.25.16 } foreach ($InterfaceGuid in $InterfaceGuids) { - if (-not (Test-Path -Path "HKLM:\SYSTEM\CurrentControlSet\Services\Dnscache\InterfaceSpecificParameters\$InterfaceGuid\DohInterfaceSettings\Doh\195.133.25.16")) + if (-not (Test-Path -Path "HKLM:\SYSTEM\CurrentControlSet\Services\Dnscache\InterfaceSpecificParameters\$InterfaceGuid\DohInterfaceSettings\Doh\83.220.169.155")) { - New-Item -Path "HKLM:\SYSTEM\CurrentControlSet\Services\Dnscache\InterfaceSpecificParameters\$InterfaceGuid\DohInterfaceSettings\Doh\195.133.25.16" -Force + New-Item -Path "HKLM:\SYSTEM\CurrentControlSet\Services\Dnscache\InterfaceSpecificParameters\$InterfaceGuid\DohInterfaceSettings\Doh\83.220.169.155" -Force } - if (-not (Test-Path -Path "HKLM:\SYSTEM\CurrentControlSet\Services\Dnscache\InterfaceSpecificParameters\$InterfaceGuid\DohInterfaceSettings\Doh\195.133.25.99")) + if (-not (Test-Path -Path "HKLM:\SYSTEM\CurrentControlSet\Services\Dnscache\InterfaceSpecificParameters\$InterfaceGuid\DohInterfaceSettings\Doh\195.133.25.16")) { - New-Item -Path "HKLM:\SYSTEM\CurrentControlSet\Services\Dnscache\InterfaceSpecificParameters\$InterfaceGuid\DohInterfaceSettings\Doh\195.133.25.99" -Force + New-Item -Path "HKLM:\SYSTEM\CurrentControlSet\Services\Dnscache\InterfaceSpecificParameters\$InterfaceGuid\DohInterfaceSettings\Doh\195.133.25.16" -Force } + New-ItemProperty -Path "HKLM:\SYSTEM\CurrentControlSet\Services\Dnscache\InterfaceSpecificParameters\$InterfaceGuid\DohInterfaceSettings\Doh\83.220.169.155" -Name DohFlags -PropertyType QWord -Value 2 -Force + New-ItemProperty -Path "HKLM:\SYSTEM\CurrentControlSet\Services\Dnscache\InterfaceSpecificParameters\$InterfaceGuid\DohInterfaceSettings\Doh\83.220.169.155" -Name DohTemplate -PropertyType String -Value https://dns.comss.one/dns-query -Force New-ItemProperty -Path "HKLM:\SYSTEM\CurrentControlSet\Services\Dnscache\InterfaceSpecificParameters\$InterfaceGuid\DohInterfaceSettings\Doh\195.133.25.16" -Name DohFlags -PropertyType QWord -Value 2 -Force New-ItemProperty -Path "HKLM:\SYSTEM\CurrentControlSet\Services\Dnscache\InterfaceSpecificParameters\$InterfaceGuid\DohInterfaceSettings\Doh\195.133.25.16" -Name DohTemplate -PropertyType String -Value https://dns.comss.one/dns-query -Force - New-ItemProperty -Path "HKLM:\SYSTEM\CurrentControlSet\Services\Dnscache\InterfaceSpecificParameters\$InterfaceGuid\DohInterfaceSettings\Doh\195.133.25.99" -Name DohFlags -PropertyType QWord -Value 2 -Force - New-ItemProperty -Path "HKLM:\SYSTEM\CurrentControlSet\Services\Dnscache\InterfaceSpecificParameters\$InterfaceGuid\DohInterfaceSettings\Doh\195.133.25.99" -Name DohTemplate -PropertyType String -Value https://dns.comss.one/dns-query -Force } } "Disable" diff --git a/src/Sophia_Script_for_Windows_11_PowerShell_7/Sophia.ps1 b/src/Sophia_Script_for_Windows_11_PowerShell_7/Sophia.ps1 index abf931b0..1b39cfad 100644 --- a/src/Sophia_Script_for_Windows_11_PowerShell_7/Sophia.ps1 +++ b/src/Sophia_Script_for_Windows_11_PowerShell_7/Sophia.ps1 @@ -5,7 +5,7 @@ Version: 6.7.3 Date: 28.11.2024 - Copyright (c) 2014—2024 farag, Inestic & lowl1f3 + Copyright (c) 2014—2025 farag, Inestic & lowl1f3 Thanks to all https://forum.ru-board.com members involved @@ -49,7 +49,7 @@ https://forums.mydigitallife.net/threads/powershell-sophia-script-for-windows-10-windows-11-5-17-8-6-5-8-x64-2023.81675/ https://www.reddit.com/r/PowerShell/comments/go2n5v/powershell_script_setup_windows_10/ - .LINK Authors + .LINK https://github.com/farag2 https://github.com/Inestic https://github.com/lowl1f3