Browse Source

fixed typos

pull/469/head 6.4.0
Dmitry Nefedov 1 year ago
parent
commit
0b2dc1dcbc
  1. 6
      src/Sophia_Script_for_Windows_10/Module/Sophia.psm1
  2. 6
      src/Sophia_Script_for_Windows_10_LTSC_2019/Module/Sophia.psm1
  3. 6
      src/Sophia_Script_for_Windows_10_LTSC_2021/Module/Sophia.psm1
  4. 6
      src/Sophia_Script_for_Windows_10_PowerShell_7/Module/Sophia.psm1
  5. 6
      src/Sophia_Script_for_Windows_11/Module/Sophia.psm1
  6. 6
      src/Sophia_Script_for_Windows_11_PowerShell_7/Module/Sophia.psm1

6
src/Sophia_Script_for_Windows_10/Module/Sophia.psm1

@ -11941,7 +11941,7 @@ while ([WinAPI.Focus]::GetFocusAssistState() -ne "OFF")
# Save script to be able to call them from VBS file
if (-not (Test-Path -Path $env:SystemRoot\System32\Tasks\Sophia))
{
New-Item -Path $env:SystemRoot\System32\Tasks\Sophia -Force
New-Item -Path $env:SystemRoot\System32\Tasks\Sophia -ItemType Directory -Force
}
Set-Content -Path "$env:SystemRoot\System32\Tasks\Sophia\Windows_Cleanup_Notification.ps1" -Value $ToastNotification -Encoding Default -Force
# Replace here-string double quotes with single ones
@ -12234,7 +12234,7 @@ Get-ChildItem -Path `$env:SystemRoot\SoftwareDistribution\Download -Recurse -For
# Save script to be able to call them from VBS file
if (-not (Test-Path -Path $env:SystemRoot\System32\Tasks\Sophia))
{
New-Item -Path $env:SystemRoot\System32\Tasks\Sophia -Force
New-Item -Path $env:SystemRoot\System32\Tasks\Sophia -ItemType Directory -Force
}
Set-Content -Path "$env:SystemRoot\System32\Tasks\Sophia\SoftwareDistributionTask.ps1" -Value $SoftwareDistributionTask -Encoding Default -Force
# Replace here-string double quotes with single ones
@ -12520,7 +12520,7 @@ Get-ChildItem -Path `$env:TEMP -Recurse -Force | Where-Object -FilterScript {`$_
# Save script to be able to call them from VBS file
if (-not (Test-Path -Path $env:SystemRoot\System32\Tasks\Sophia))
{
New-Item -Path $env:SystemRoot\System32\Tasks\Sophia -Force
New-Item -Path $env:SystemRoot\System32\Tasks\Sophia -ItemType Directory -Force
}
Set-Content -Path "$env:SystemRoot\System32\Tasks\Sophia\TempTask.ps1" -Value $TempTask -Encoding Default -Force
# Replace here-string double quotes with single ones

6
src/Sophia_Script_for_Windows_10_LTSC_2019/Module/Sophia.psm1

@ -8581,7 +8581,7 @@ while ([WinAPI.Focus]::GetFocusAssistState() -ne "OFF")
# Save script to be able to call them from VBS file
if (-not (Test-Path -Path $env:SystemRoot\System32\Tasks\Sophia))
{
New-Item -Path $env:SystemRoot\System32\Tasks\Sophia -Force
New-Item -Path $env:SystemRoot\System32\Tasks\Sophia -ItemType Directory -Force
}
Set-Content -Path "$env:SystemRoot\System32\Tasks\Sophia\Windows_Cleanup_Notification.ps1" -Value $ToastNotification -Encoding Default -Force
# Replace here-string double quotes with single ones
@ -8874,7 +8874,7 @@ Get-ChildItem -Path `$env:SystemRoot\SoftwareDistribution\Download -Recurse -For
# Save script to be able to call them from VBS file
if (-not (Test-Path -Path $env:SystemRoot\System32\Tasks\Sophia))
{
New-Item -Path $env:SystemRoot\System32\Tasks\Sophia -Force
New-Item -Path $env:SystemRoot\System32\Tasks\Sophia -ItemType Directory -Force
}
Set-Content -Path "$env:SystemRoot\System32\Tasks\Sophia\SoftwareDistributionTask.ps1" -Value $SoftwareDistributionTask -Encoding Default -Force
# Replace here-string double quotes with single ones
@ -9160,7 +9160,7 @@ Get-ChildItem -Path `$env:TEMP -Recurse -Force | Where-Object -FilterScript {`$_
# Save script to be able to call them from VBS file
if (-not (Test-Path -Path $env:SystemRoot\System32\Tasks\Sophia))
{
New-Item -Path $env:SystemRoot\System32\Tasks\Sophia -Force
New-Item -Path $env:SystemRoot\System32\Tasks\Sophia -ItemType Directory -Force
}
Set-Content -Path "$env:SystemRoot\System32\Tasks\Sophia\TempTask.ps1" -Value $TempTask -Encoding Default -Force
# Replace here-string double quotes with single ones

6
src/Sophia_Script_for_Windows_10_LTSC_2021/Module/Sophia.psm1

@ -9723,7 +9723,7 @@ while ([WinAPI.Focus]::GetFocusAssistState() -ne "OFF")
# Save script to be able to call them from VBS file
if (-not (Test-Path -Path $env:SystemRoot\System32\Tasks\Sophia))
{
New-Item -Path $env:SystemRoot\System32\Tasks\Sophia -Force
New-Item -Path $env:SystemRoot\System32\Tasks\Sophia -ItemType Directory -Force
}
Set-Content -Path "$env:SystemRoot\System32\Tasks\Sophia\Windows_Cleanup_Notification.ps1" -Value $ToastNotification -Encoding Default -Force
# Replace here-string double quotes with single ones
@ -10016,7 +10016,7 @@ Get-ChildItem -Path `$env:SystemRoot\SoftwareDistribution\Download -Recurse -For
# Save script to be able to call them from VBS file
if (-not (Test-Path -Path $env:SystemRoot\System32\Tasks\Sophia))
{
New-Item -Path $env:SystemRoot\System32\Tasks\Sophia -Force
New-Item -Path $env:SystemRoot\System32\Tasks\Sophia -ItemType Directory -Force
}
Set-Content -Path "$env:SystemRoot\System32\Tasks\Sophia\SoftwareDistributionTask.ps1" -Value $SoftwareDistributionTask -Encoding Default -Force
# Replace here-string double quotes with single ones
@ -10302,7 +10302,7 @@ Get-ChildItem -Path `$env:TEMP -Recurse -Force | Where-Object -FilterScript {`$_
# Save script to be able to call them from VBS file
if (-not (Test-Path -Path $env:SystemRoot\System32\Tasks\Sophia))
{
New-Item -Path $env:SystemRoot\System32\Tasks\Sophia -Force
New-Item -Path $env:SystemRoot\System32\Tasks\Sophia -ItemType Directory -Force
}
Set-Content -Path "$env:SystemRoot\System32\Tasks\Sophia\TempTask.ps1" -Value $TempTask -Encoding Default -Force
# Replace here-string double quotes with single ones

6
src/Sophia_Script_for_Windows_10_PowerShell_7/Module/Sophia.psm1

@ -11964,7 +11964,7 @@ while ([WinAPI.Focus]::GetFocusAssistState() -ne "OFF")
# Save script to be able to call them from VBS file
if (-not (Test-Path -Path $env:SystemRoot\System32\Tasks\Sophia))
{
New-Item -Path $env:SystemRoot\System32\Tasks\Sophia -Force
New-Item -Path $env:SystemRoot\System32\Tasks\Sophia -ItemType Directory -Force
}
Set-Content -Path "$env:SystemRoot\System32\Tasks\Sophia\Windows_Cleanup_Notification.ps1" -Value $ToastNotification -Encoding Default -Force
# Replace here-string double quotes with single ones
@ -12257,7 +12257,7 @@ Get-ChildItem -Path `$env:SystemRoot\SoftwareDistribution\Download -Recurse -For
# Save script to be able to call them from VBS file
if (-not (Test-Path -Path $env:SystemRoot\System32\Tasks\Sophia))
{
New-Item -Path $env:SystemRoot\System32\Tasks\Sophia -Force
New-Item -Path $env:SystemRoot\System32\Tasks\Sophia -ItemType Directory -Force
}
Set-Content -Path "$env:SystemRoot\System32\Tasks\Sophia\SoftwareDistributionTask.ps1" -Value $SoftwareDistributionTask -Encoding Default -Force
# Replace here-string double quotes with single ones
@ -12543,7 +12543,7 @@ Get-ChildItem -Path `$env:TEMP -Recurse -Force | Where-Object -FilterScript {`$_
# Save script to be able to call them from VBS file
if (-not (Test-Path -Path $env:SystemRoot\System32\Tasks\Sophia))
{
New-Item -Path $env:SystemRoot\System32\Tasks\Sophia -Force
New-Item -Path $env:SystemRoot\System32\Tasks\Sophia -ItemType Directory -Force
}
Set-Content -Path "$env:SystemRoot\System32\Tasks\Sophia\TempTask.ps1" -Value $TempTask -Encoding Default -Force
# Replace here-string double quotes with single ones

6
src/Sophia_Script_for_Windows_11/Module/Sophia.psm1

@ -11369,7 +11369,7 @@ while ([WinAPI.Focus]::GetFocusAssistState() -ne "OFF")
# Save script to be able to call them from VBS file
if (-not (Test-Path -Path $env:SystemRoot\System32\Tasks\Sophia))
{
New-Item -Path $env:SystemRoot\System32\Tasks\Sophia -Force
New-Item -Path $env:SystemRoot\System32\Tasks\Sophia -ItemType Directory -Force
}
Set-Content -Path "$env:SystemRoot\System32\Tasks\Sophia\Windows_Cleanup_Notification.ps1" -Value $ToastNotification -Encoding Default -Force
# Replace here-string double quotes with single ones
@ -11662,7 +11662,7 @@ Get-ChildItem -Path `$env:SystemRoot\SoftwareDistribution\Download -Recurse -For
# Save script to be able to call them from VBS file
if (-not (Test-Path -Path $env:SystemRoot\System32\Tasks\Sophia))
{
New-Item -Path $env:SystemRoot\System32\Tasks\Sophia -Force
New-Item -Path $env:SystemRoot\System32\Tasks\Sophia -ItemType Directory -Force
}
Set-Content -Path "$env:SystemRoot\System32\Tasks\Sophia\SoftwareDistributionTask.ps1" -Value $SoftwareDistributionTask -Encoding Default -Force
# Replace here-string double quotes with single ones
@ -11948,7 +11948,7 @@ Get-ChildItem -Path `$env:TEMP -Recurse -Force | Where-Object -FilterScript {`$_
# Save script to be able to call them from VBS file
if (-not (Test-Path -Path $env:SystemRoot\System32\Tasks\Sophia))
{
New-Item -Path $env:SystemRoot\System32\Tasks\Sophia -Force
New-Item -Path $env:SystemRoot\System32\Tasks\Sophia -ItemType Directory -Force
}
Set-Content -Path "$env:SystemRoot\System32\Tasks\Sophia\TempTask.ps1" -Value $TempTask -Encoding Default -Force
# Replace here-string double quotes with single ones

6
src/Sophia_Script_for_Windows_11_PowerShell_7/Module/Sophia.psm1

@ -11392,7 +11392,7 @@ while ([WinAPI.Focus]::GetFocusAssistState() -ne "OFF")
# Save script to be able to call them from VBS file
if (-not (Test-Path -Path $env:SystemRoot\System32\Tasks\Sophia))
{
New-Item -Path $env:SystemRoot\System32\Tasks\Sophia -Force
New-Item -Path $env:SystemRoot\System32\Tasks\Sophia -ItemType Directory -Force
}
Set-Content -Path "$env:SystemRoot\System32\Tasks\Sophia\Windows_Cleanup_Notification.ps1" -Value $ToastNotification -Encoding Default -Force
# Replace here-string double quotes with single ones
@ -11685,7 +11685,7 @@ Get-ChildItem -Path `$env:SystemRoot\SoftwareDistribution\Download -Recurse -For
# Save script to be able to call them from VBS file
if (-not (Test-Path -Path $env:SystemRoot\System32\Tasks\Sophia))
{
New-Item -Path $env:SystemRoot\System32\Tasks\Sophia -Force
New-Item -Path $env:SystemRoot\System32\Tasks\Sophia -ItemType Directory -Force
}
Set-Content -Path "$env:SystemRoot\System32\Tasks\Sophia\SoftwareDistributionTask.ps1" -Value $SoftwareDistributionTask -Encoding Default -Force
# Replace here-string double quotes with single ones
@ -11971,7 +11971,7 @@ Get-ChildItem -Path `$env:TEMP -Recurse -Force | Where-Object -FilterScript {`$_
# Save script to be able to call them from VBS file
if (-not (Test-Path -Path $env:SystemRoot\System32\Tasks\Sophia))
{
New-Item -Path $env:SystemRoot\System32\Tasks\Sophia -Force
New-Item -Path $env:SystemRoot\System32\Tasks\Sophia -ItemType Directory -Force
}
Set-Content -Path "$env:SystemRoot\System32\Tasks\Sophia\TempTask.ps1" -Value $TempTask -Encoding Default -Force
# Replace here-string double quotes with single ones

Loading…
Cancel
Save