Browse Source

Updated readmes

pull/450/head
Dmitry Nefedov 2 years ago
parent
commit
b52b5ef190
  1. 13
      README.md
  2. 13
      README_uk-ua.md
  3. 4
      src/Sophia_Script_for_Windows_10/Module/Sophia.psm1
  4. 4
      src/Sophia_Script_for_Windows_10_PowerShell_7/Module/Sophia.psm1
  5. 2
      src/Sophia_Script_for_Windows_11/Functions.ps1
  6. 14
      src/Sophia_Script_for_Windows_11/Module/Sophia.psm1
  7. 14
      src/Sophia_Script_for_Windows_11_PowerShell_7/Module/Sophia.psm1

13
README.md

@ -17,6 +17,7 @@
<a href="https://github.com/farag2/Sophia-Script-for-Windows"><img src="https://img.shields.io/endpoint?url=https://gist.githubusercontent.com/farag2/9852d6b9569a91bf69ceba8a94cc97f4/raw/4060982030d6fa6191793d495fcce64e7079e110/SophiaScript.json"></a>
<a href="https://github.com/farag2/Sophia-Script-for-Windows/releases"><img src="https://img.shields.io/github/downloads/farag2/Sophia-Script-for-Windows/total?label=downloads%20%28since%20May%202020%29"></a>
<a href="https://community.chocolatey.org/packages/sophia"><img src="https://img.shields.io/chocolatey/dt/sophia?color=blue&label=chocolatey%20package"></a>
<a href="https://twitter.com/tea_head_"><img src="https://img.shields.io/badge/Logo%20by-teahead-blue?style=flat&logo=Twitter"></a>
<img src="https://img.shields.io/badge/Made%20with-149ce2.svg?color=149ce2"><img src="https://raw.githubusercontent.com/farag2/Sophia-Script-for-Windows/master/img/heart.svg" height="17px"/>
@ -112,12 +113,12 @@
| Version | Marketing name | Build | Arch | Editions |
|:-------------------------------------|--------------------:|:-----------:|:----:|:-------------------:|
| Windows 11 Insider Preview 23H2 | 2023 Update | 22509+ | | Home/Pro/Enterprise |
| Windows 11 22H2 | 2022 Update | 22621 | | Home/Pro/Enterprise |
| Windows 11 21H2 | | 22000.739+ | | Home/Pro/Enterprise |
| Windows 10 22H2 | 2022 Update | 19045.2006+ | x64 | Home/Pro/Enterprise |
| Windows 10 21H2 | October 2021 Update | 19044.1706+ | x64 | Home/Pro/Enterprise |
| Windows 10 21H2 Enterprise LTSC 2021 | October 2021 Update | 19044.1706+ | x64 | Enterprise |
| Windows 10 1809 Enterprise LTSC 2019 | October 2018 Update | 17763.3046+ | x64 | Enterprise |
| Windows 11 22H2 | 2022 Update | 22621.963+ | | Home/Pro/Enterprise |
| Windows 11 21H2 | | 22000.1335+ | | Home/Pro/Enterprise |
| Windows 10 22H2 | 2022 Update | 19045.2364+ | x64 | Home/Pro/Enterprise |
| Windows 10 21H2 | October 2021 Update | 19044.2364+ | x64 | Home/Pro/Enterprise |
| Windows 10 21H2 Enterprise LTSC 2021 | October 2021 Update | 19044.2364+ | x64 | Enterprise |
| Windows 10 1809 Enterprise LTSC 2019 | October 2018 Update | 17763.3770+ | x64 | Enterprise |
### Warning

13
README_uk-ua.md

@ -17,6 +17,7 @@
</a><a href="https://github.com/farag2/Sophia-Script-for-Windows"><img src="https://img.shields.io/endpoint?url=https://gist.githubusercontent.com/farag2/9852d6b9569a91bf69ceba8a94cc97f4/raw/4060982030d6fa6191793d495fcce64e7079e110/SophiaScript.json"></a>
<a href="https://github.com/farag2/Sophia-Script-for-Windows/releases"><img src="https://img.shields.io/github/downloads/farag2/Sophia-Script-for-Windows/total?label=downloads%20%28since%20May%202020%29"></a>
<a href="https://community.chocolatey.org/packages/sophia"><img src="https://img.shields.io/chocolatey/dt/sophia?color=blue&label=chocolatey%20package"></a>
<a href="https://twitter.com/tea_head_"><img src="https://img.shields.io/badge/Logo%20by-teahead-blue?style=flat&logo=Twitter"></a>
<img src="https://img.shields.io/badge/Made%20with-149ce2.svg?color=149ce2"><img src="https://raw.githubusercontent.com/farag2/Sophia-Script-for-Windows/master/img/heart.svg" height="17px"/>
@ -112,12 +113,12 @@
| Версія | Маркетингова назва | Збіркa | Архітектура | Видання |
|:-------------------------------------|--------------------:|:-----------:|:-----------:|:-------------------:|
| Windows 11 Insider Preview 23H2 | 2023 Update | 22509+ | | Home/Pro/Enterprise |
| Windows 11 22H2 | 2022 Update | 22621 | | Home/Pro/Enterprise |
| Windows 11 21H2 | | 22000.739+ | | Home/Pro/Enterprise |
| Windows 10 22H2 | 2022 Update | 19045.2006+ | x64 | Home/Pro/Enterprise |
| Windows 10 21H2 | October 2021 Update | 19044.1706+ | x64 | Home/Pro/Enterprise |
| Windows 10 21H2 Enterprise LTSC 2021 | October 2021 Update | 19044.1706+ | x64 | Enterprise |
| Windows 10 1809 Enterprise LTSC 2019 | October 2018 Update | 17763.3046+ | x64 | Enterprise |
| Windows 11 22H2 | 2022 Update | 22621.963+ | | Home/Pro/Enterprise |
| Windows 11 21H2 | | 22000.1335+ | | Home/Pro/Enterprise |
| Windows 10 22H2 | 2022 Update | 19045.2364+ | x64 | Home/Pro/Enterprise |
| Windows 10 21H2 | October 2021 Update | 19044.2364+ | x64 | Home/Pro/Enterprise |
| Windows 10 21H2 Enterprise LTSC 2021 | October 2021 Update | 19044.2364+ | x64 | Enterprise |
| Windows 10 1809 Enterprise LTSC 2019 | October 2018 Update | 17763.3770+ | x64 | Enterprise |
### Увага

4
src/Sophia_Script_for_Windows_10/Module/Sophia.psm1

@ -84,7 +84,7 @@ function Checks
Start-Sleep -Seconds 1
# Check for UWP apps updates
Get-CimInstance -Namespace "Root\cimv2\mdm\dmmap" -ClassName "MDM_EnterpriseModernAppManagement_AppManagement01" | Invoke-CimMethod -MethodName UpdateScanMethod
Get-CimInstance -Namespace root\cimv2\mdm\dmmap -ClassName MDM_EnterpriseModernAppManagement_AppManagement01 | Invoke-CimMethod -MethodName UpdateScanMethod
# Open the "Windows Update" page
Start-Process -FilePath "ms-settings:windowsupdate"
@ -11059,7 +11059,7 @@ function CheckUWPAppsUpdates
{
Write-Information -MessageData "" -InformationAction Continue
Write-Verbose -Message $Localization.Patient -Verbose
Get-CimInstance -Namespace "Root\cimv2\mdm\dmmap" -ClassName "MDM_EnterpriseModernAppManagement_AppManagement01" | Invoke-CimMethod -MethodName UpdateScanMethod
Get-CimInstance -Namespace root\cimv2\mdm\dmmap -ClassName MDM_EnterpriseModernAppManagement_AppManagement01 | Invoke-CimMethod -MethodName UpdateScanMethod
}
#endregion UWP apps

4
src/Sophia_Script_for_Windows_10_PowerShell_7/Module/Sophia.psm1

@ -84,7 +84,7 @@ function Checks
Start-Sleep -Seconds 1
# Check for UWP apps updates
Get-CimInstance -Namespace "Root\cimv2\mdm\dmmap" -ClassName "MDM_EnterpriseModernAppManagement_AppManagement01" | Invoke-CimMethod -MethodName UpdateScanMethod
Get-CimInstance -Namespace root\cimv2\mdm\dmmap -ClassName MDM_EnterpriseModernAppManagement_AppManagement01 | Invoke-CimMethod -MethodName UpdateScanMethod
# Open the "Windows Update" page
Start-Process -FilePath "ms-settings:windowsupdate"
@ -11087,7 +11087,7 @@ function CheckUWPAppsUpdates
{
Write-Information -MessageData "" -InformationAction Continue
Write-Verbose -Message $Localization.Patient -Verbose
Get-CimInstance -Namespace "Root\cimv2\mdm\dmmap" -ClassName "MDM_EnterpriseModernAppManagement_AppManagement01" | Invoke-CimMethod -MethodName UpdateScanMethod
Get-CimInstance -Namespace root\cimv2\mdm\dmmap -ClassName MDM_EnterpriseModernAppManagement_AppManagement01 | Invoke-CimMethod -MethodName UpdateScanMethod
}
#endregion UWP apps

2
src/Sophia_Script_for_Windows_11/Functions.ps1

@ -58,7 +58,7 @@ Import-Module -Name $PSScriptRoot\Manifest\Sophia.psd1 -PassThru -Force
Import-LocalizedData -BindingVariable Global:Localization -FileName Sophia -BaseDirectory $PSScriptRoot\Localizations
# The mandatory checks. Please, do not comment out this function
#Checks
Checks
$Parameters = @{
CommandName = "Sophia"

14
src/Sophia_Script_for_Windows_11/Module/Sophia.psm1

@ -64,8 +64,8 @@ function Checks
{
# Check whether the OS minor build version is 1335 minimum
# https://docs.microsoft.com/en-us/windows/release-health/windows11-release-information
$Version = Get-ItemProperty -Path "HKLM:\SOFTWARE\Microsoft\Windows nt\CurrentVersion"
Write-Warning -Message ($Localization.UpdateWarning -f $Version.CurrentBuild, $Version.UBR)
$Version = Get-ItemPropertyValue -Path "HKLM:\SOFTWARE\Microsoft\Windows nt\CurrentVersion" -Name UBR
Write-Warning -Message ($Localization.UpdateWarning -f $Version.CurrentBuild, $Version)
Start-Process -FilePath "https://t.me/sophia_chat"
@ -75,7 +75,7 @@ function Checks
Start-Sleep -Seconds 1
# Check for UWP apps updates
Get-CimInstance -Namespace "Root\cimv2\mdm\dmmap" -ClassName "MDM_EnterpriseModernAppManagement_AppManagement01" | Invoke-CimMethod -MethodName UpdateScanMethod
Get-CimInstance -Namespace root\cimv2\mdm\dmmap -ClassName MDM_EnterpriseModernAppManagement_AppManagement01 | Invoke-CimMethod -MethodName UpdateScanMethod
# Open the "Windows Update" page
Start-Process -FilePath "ms-settings:windowsupdate"
@ -97,8 +97,8 @@ function Checks
{
# Check whether the OS minor build version is 1335 minimum
# https://docs.microsoft.com/en-us/windows/release-health/windows11-release-information
$Version = Get-ItemProperty -Path "HKLM:\SOFTWARE\Microsoft\Windows nt\CurrentVersion"
Write-Warning -Message ($Localization.UpdateWarning -f $Version.CurrentBuild, $Version.UBR)
$Version = Get-ItemPropertyValue -Path "HKLM:\SOFTWARE\Microsoft\Windows nt\CurrentVersion" -Name UBR
Write-Warning -Message ($Localization.UpdateWarning -f $Version.CurrentBuild, $Version)
Start-Process -FilePath "https://t.me/sophia_chat"
@ -108,7 +108,7 @@ function Checks
Start-Sleep -Seconds 1
# Check for UWP apps updates
Get-CimInstance -Namespace "Root\cimv2\mdm\dmmap" -ClassName "MDM_EnterpriseModernAppManagement_AppManagement01" | Invoke-CimMethod -MethodName UpdateScanMethod
Get-CimInstance -Namespace root\cimv2\mdm\dmmap -ClassName MDM_EnterpriseModernAppManagement_AppManagement01 | Invoke-CimMethod -MethodName UpdateScanMethod
# Open the "Windows Update" page
Start-Process -FilePath "ms-settings:windowsupdate"
@ -10525,7 +10525,7 @@ function CheckUWPAppsUpdates
{
Write-Information -MessageData "" -InformationAction Continue
Write-Verbose -Message $Localization.Patient -Verbose
Get-CimInstance -Namespace "Root\cimv2\mdm\dmmap" -ClassName "MDM_EnterpriseModernAppManagement_AppManagement01" | Invoke-CimMethod -MethodName UpdateScanMethod
Get-CimInstance -Namespace root\cimv2\mdm\dmmap -ClassName MDM_EnterpriseModernAppManagement_AppManagement01 | Invoke-CimMethod -MethodName UpdateScanMethod
}
#endregion UWP apps

14
src/Sophia_Script_for_Windows_11_PowerShell_7/Module/Sophia.psm1

@ -64,8 +64,8 @@ function Checks
{
# Check whether the OS minor build version is 1335 minimum
# https://docs.microsoft.com/en-us/windows/release-health/windows11-release-information
$Version = Get-ItemProperty -Path "HKLM:\SOFTWARE\Microsoft\Windows nt\CurrentVersion"
Write-Warning -Message ($Localization.UpdateWarning -f $Version.CurrentBuild, $Version.UBR)
$Version = Get-ItemPropertyValue -Path "HKLM:\SOFTWARE\Microsoft\Windows nt\CurrentVersion" -Name UBR
Write-Warning -Message ($Localization.UpdateWarning -f $Version.CurrentBuild, $Version)
Start-Process -FilePath "https://t.me/sophia_chat"
@ -75,7 +75,7 @@ function Checks
Start-Sleep -Seconds 1
# Check for UWP apps updates
Get-CimInstance -Namespace "Root\cimv2\mdm\dmmap" -ClassName "MDM_EnterpriseModernAppManagement_AppManagement01" | Invoke-CimMethod -MethodName UpdateScanMethod
Get-CimInstance -Namespace root\cimv2\mdm\dmmap -ClassName MDM_EnterpriseModernAppManagement_AppManagement01 | Invoke-CimMethod -MethodName UpdateScanMethod
# Open the "Windows Update" page
Start-Process -FilePath "ms-settings:windowsupdate"
@ -97,8 +97,8 @@ function Checks
{
# Check whether the OS minor build version is 1335 minimum
# https://docs.microsoft.com/en-us/windows/release-health/windows11-release-information
$Version = Get-ItemProperty -Path "HKLM:\SOFTWARE\Microsoft\Windows nt\CurrentVersion"
Write-Warning -Message ($Localization.UpdateWarning -f $Version.CurrentBuild, $Version.UBR)
$Version = Get-ItemPropertyValue -Path "HKLM:\SOFTWARE\Microsoft\Windows nt\CurrentVersion" -Name UBR
Write-Warning -Message ($Localization.UpdateWarning -f $Version.CurrentBuild, $Version)
Start-Process -FilePath "https://t.me/sophia_chat"
@ -108,7 +108,7 @@ function Checks
Start-Sleep -Seconds 1
# Check for UWP apps updates
Get-CimInstance -Namespace "Root\cimv2\mdm\dmmap" -ClassName "MDM_EnterpriseModernAppManagement_AppManagement01" | Invoke-CimMethod -MethodName UpdateScanMethod
Get-CimInstance -Namespace root\cimv2\mdm\dmmap -ClassName MDM_EnterpriseModernAppManagement_AppManagement01 | Invoke-CimMethod -MethodName UpdateScanMethod
# Open the "Windows Update" page
Start-Process -FilePath "ms-settings:windowsupdate"
@ -10553,7 +10553,7 @@ function CheckUWPAppsUpdates
{
Write-Information -MessageData "" -InformationAction Continue
Write-Verbose -Message $Localization.Patient -Verbose
Get-CimInstance -Namespace "Root\cimv2\mdm\dmmap" -ClassName "MDM_EnterpriseModernAppManagement_AppManagement01" | Invoke-CimMethod -MethodName UpdateScanMethod
Get-CimInstance -Namespace root\cimv2\mdm\dmmap -ClassName MDM_EnterpriseModernAppManagement_AppManagement01 | Invoke-CimMethod -MethodName UpdateScanMethod
}
#endregion UWP apps

Loading…
Cancel
Save