Browse Source

15.12.2021 6.0.10

pull/315/head
Dmitry Nefedov 3 years ago
parent
commit
329ee04546
  1. 6
      Sophia Script/Sophia Script for Windows 10 LTSC 2019/Functions.ps1
  2. 2
      Sophia Script/Sophia Script for Windows 10 LTSC 2019/Manifest/Sophia.psd1
  3. 8
      Sophia Script/Sophia Script for Windows 10 LTSC 2019/Module/Sophia.psm1
  4. 6
      Sophia Script/Sophia Script for Windows 10 LTSC 2019/Sophia.ps1
  5. 6
      Sophia Script/Sophia Script for Windows 10 LTSC 2021/Functions.ps1
  6. 2
      Sophia Script/Sophia Script for Windows 10 LTSC 2021/Manifest/Sophia.psd1
  7. 8
      Sophia Script/Sophia Script for Windows 10 LTSC 2021/Module/Sophia.psm1
  8. 6
      Sophia Script/Sophia Script for Windows 10 LTSC 2021/Sophia.ps1
  9. 6
      Sophia Script/Sophia Script for Windows 10 PowerShell 7/Functions.ps1
  10. 2
      Sophia Script/Sophia Script for Windows 10 PowerShell 7/Manifest/Sophia.psd1
  11. 8
      Sophia Script/Sophia Script for Windows 10 PowerShell 7/Module/Sophia.psm1
  12. 6
      Sophia Script/Sophia Script for Windows 10 PowerShell 7/Sophia.ps1
  13. 6
      Sophia Script/Sophia Script for Windows 10/Functions.ps1
  14. 2
      Sophia Script/Sophia Script for Windows 10/Manifest/Sophia.psd1
  15. 8
      Sophia Script/Sophia Script for Windows 10/Module/Sophia.psm1
  16. 6
      Sophia Script/Sophia Script for Windows 10/Sophia.ps1
  17. 6
      Sophia Script/Sophia Script for Windows 11 PowerShell 7/Functions.ps1
  18. 2
      Sophia Script/Sophia Script for Windows 11 PowerShell 7/Manifest/Sophia.psd1
  19. 8
      Sophia Script/Sophia Script for Windows 11 PowerShell 7/Module/Sophia.psm1
  20. 6
      Sophia Script/Sophia Script for Windows 11 PowerShell 7/Sophia.ps1
  21. 6
      Sophia Script/Sophia Script for Windows 11/Functions.ps1
  22. 2
      Sophia Script/Sophia Script for Windows 11/Manifest/Sophia.psd1
  23. 8
      Sophia Script/Sophia Script for Windows 11/Module/Sophia.psm1
  24. 6
      Sophia Script/Sophia Script for Windows 11/Sophia.ps1

6
Sophia Script/Sophia Script for Windows 10 LTSC 2019/Functions.ps1

@ -2,8 +2,8 @@
.SYNOPSIS
The TAB completion for functions and their arguments
Version: v5.2.18
Date: 14.12.2021
Version: v5.2.19
Date: 15.12.2021
Copyright (c) 20142021 farag
Copyright (c) 20192021 farag & Inestic
@ -54,7 +54,7 @@ function Sophia
Clear-Host
$Host.UI.RawUI.WindowTitle = "Sophia Script for Windows 10 LTSC v5.2.18 | Made with $([char]::ConvertFromUtf32(0x1F497)) of Windows 10 | $([char]0x00A9) farag & Inestic, 2014$([char]0x2013)2021"
$Host.UI.RawUI.WindowTitle = "Sophia Script for Windows 10 LTSC v5.2.19 | Made with $([char]::ConvertFromUtf32(0x1F497)) of Windows 10 | $([char]0x00A9) farag & Inestic, 2014$([char]0x2013)2021"
Remove-Module -Name Sophia -Force -ErrorAction Ignore
Import-Module -Name $PSScriptRoot\Manifest\Sophia.psd1 -PassThru -Force

2
Sophia Script/Sophia Script for Windows 10 LTSC 2019/Manifest/Sophia.psd1

@ -1,6 +1,6 @@
@{
RootModule = '..\Module\Sophia.psm1'
ModuleVersion = '5.2.18'
ModuleVersion = '5.2.19'
GUID = 'a36a65ca-70f9-43df-856c-3048fc5e7f01'
Author = 'Dmitry "farag" Nefedov'
Copyright = '(c) 2014—2021 farag & Inestic. All rights reserved'

8
Sophia Script/Sophia Script for Windows 10 LTSC 2019/Module/Sophia.psm1

@ -2,8 +2,8 @@
.SYNOPSIS
Sophia Script is a PowerShell module for Windows 10 & Windows 11 fine-tuning and automating the routine tasks
Version: v5.2.18
Date: 14.12.2021
Version: v5.2.19
Date: 15.12.2021
Copyright (c) 20142021 farag
Copyright (c) 20192021 farag & Inestic
@ -176,7 +176,7 @@ function Checkings
if ($Warning)
{
# Get the name of a preset (e.g Sophia.ps1) regardless it was named
$PresetName = Split-Path -Path ((Get-PSCallStack).Position | Where-Object -FilterScript {$null -eq $_.File}).Text -Leaf
$PresetName = Split-Path -Path ((Get-PSCallStack).Position | Where-Object -FilterScript {$_.File -match ".ps1"}).File -Leaf
$Title = ""
$Message = $Localization.CustomizationWarning -f $PresetName
@ -190,7 +190,7 @@ function Checkings
{
"0"
{
Invoke-Item -Path $PSScriptRoot\..\$PresetName.ps1
Invoke-Item -Path $PSScriptRoot\..\$PresetName
Start-Sleep -Seconds 5

6
Sophia Script/Sophia Script for Windows 10 LTSC 2019/Sophia.ps1

@ -2,8 +2,8 @@
.SYNOPSIS
Default preset file for "Sophia Script for Windows 10 LTSC 2019"
Version: v5.2.18
Date: 14.12.2021
Version: v5.2.19
Date: 15.12.2021
Copyright (c) 20142021 farag
Copyright (c) 20192021 farag & Inestic
@ -71,7 +71,7 @@ param
Clear-Host
$Host.UI.RawUI.WindowTitle = "Sophia Script for Windows 10 LTSC v5.2.18 | Made with $([char]::ConvertFromUtf32(0x1F497)) of Windows | $([char]0x00A9) farag & Inestic, 2014$([char]0x2013)2021"
$Host.UI.RawUI.WindowTitle = "Sophia Script for Windows 10 LTSC v5.2.19 | Made with $([char]::ConvertFromUtf32(0x1F497)) of Windows | $([char]0x00A9) farag & Inestic, 2014$([char]0x2013)2021"
Remove-Module -Name Sophia -Force -ErrorAction Ignore
Import-Module -Name $PSScriptRoot\Manifest\Sophia.psd1 -PassThru -Force

6
Sophia Script/Sophia Script for Windows 10 LTSC 2021/Functions.ps1

@ -2,8 +2,8 @@
.SYNOPSIS
The TAB completion for functions and their arguments
Version: v5.12.8
Date: 14.12.2021
Version: v5.12.9
Date: 15.12.2021
Copyright (c) 20142021 farag
Copyright (c) 20192021 farag & Inestic
@ -54,7 +54,7 @@ function Sophia
Clear-Host
$Host.UI.RawUI.WindowTitle = "Sophia Script for Windows 10 v5.12.8 | Made with $([char]::ConvertFromUtf32(0x1F497)) of Windows | $([char]0x00A9) farag & Inestic, 2014$([char]0x2013)2021"
$Host.UI.RawUI.WindowTitle = "Sophia Script for Windows 10 v5.12.9 | Made with $([char]::ConvertFromUtf32(0x1F497)) of Windows | $([char]0x00A9) farag & Inestic, 2014$([char]0x2013)2021"
Remove-Module -Name Sophia -Force -ErrorAction Ignore
Import-Module -Name $PSScriptRoot\Manifest\Sophia.psd1 -PassThru -Force

2
Sophia Script/Sophia Script for Windows 10 LTSC 2021/Manifest/Sophia.psd1

@ -1,6 +1,6 @@
@{
RootModule = '..\Module\Sophia.psm1'
ModuleVersion = '5.12.8'
ModuleVersion = '5.12.9'
GUID = '109cc881-c42b-45af-a74a-550781989d6a'
Author = 'Dmitry "farag" Nefedov'
Copyright = '(c) 2014—2021 farag & Inestic. All rights reserved'

8
Sophia Script/Sophia Script for Windows 10 LTSC 2021/Module/Sophia.psm1

@ -2,8 +2,8 @@
.SYNOPSIS
Sophia Script is a PowerShell module for Windows 10 & Windows 11 fine-tuning and automating the routine tasks
Version: v5.12.8
Date: 14.12.2021
Version: v5.12.9
Date: 15.12.2021
Copyright (c) 20142021 farag
Copyright (c) 20192021 farag & Inestic
@ -201,7 +201,7 @@ function Checkings
if ($Warning)
{
# Get the name of a preset (e.g Sophia.ps1) regardless it was named
$PresetName = Split-Path -Path ((Get-PSCallStack).Position | Where-Object -FilterScript {$null -eq $_.File}).Text -Leaf
$PresetName = Split-Path -Path ((Get-PSCallStack).Position | Where-Object -FilterScript {$_.File -match ".ps1"}).File -Leaf
$Title = ""
$Message = $Localization.CustomizationWarning -f $PresetName
@ -215,7 +215,7 @@ function Checkings
{
"0"
{
Invoke-Item -Path $PSScriptRoot\..\$PresetName.ps1
Invoke-Item -Path $PSScriptRoot\..\$PresetName
Start-Sleep -Seconds 5

6
Sophia Script/Sophia Script for Windows 10 LTSC 2021/Sophia.ps1

@ -2,8 +2,8 @@
.SYNOPSIS
Default preset file for "Sophia Script for Windows 10 LTSC 2021"
Version: v5.12.8
Date: 14.12.2021
Version: v5.12.9
Date: 15.12.2021
Copyright (c) 20142021 farag
Copyright (c) 20192021 farag & Inestic
@ -71,7 +71,7 @@ param
Clear-Host
$Host.UI.RawUI.WindowTitle = "Sophia Script for Windows 10 v5.12.8 | Made with $([char]::ConvertFromUtf32(0x1F497)) of Windows | $([char]0x00A9) farag & Inestic, 2014$([char]0x2013)2021"
$Host.UI.RawUI.WindowTitle = "Sophia Script for Windows 10 v5.12.9 | Made with $([char]::ConvertFromUtf32(0x1F497)) of Windows | $([char]0x00A9) farag & Inestic, 2014$([char]0x2013)2021"
Remove-Module -Name Sophia -Force -ErrorAction Ignore
Import-Module -Name $PSScriptRoot\Manifest\Sophia.psd1 -PassThru -Force

6
Sophia Script/Sophia Script for Windows 10 PowerShell 7/Functions.ps1

@ -2,8 +2,8 @@
.SYNOPSIS
The TAB completion for functions and their arguments
Version: v5.12.8
Date: 14.12.2021
Version: v5.12.9
Date: 15.12.2021
Copyright (c) 20142021 farag
Copyright (c) 20192021 farag & Inestic
@ -54,7 +54,7 @@ function Sophia
Clear-Host
$Host.UI.RawUI.WindowTitle = "Sophia Script for Windows 10 v5.12.8 (PowerShell 7) | Made with $([char]::ConvertFromUtf32(0x1F497)) of Windows | $([char]0x00A9) farag & Inestic, 2014$([char]0x2013)2021"
$Host.UI.RawUI.WindowTitle = "Sophia Script for Windows 10 v5.12.9 (PowerShell 7) | Made with $([char]::ConvertFromUtf32(0x1F497)) of Windows | $([char]0x00A9) farag & Inestic, 2014$([char]0x2013)2021"
Remove-Module -Name Sophia -Force -ErrorAction Ignore
Import-Module -Name $PSScriptRoot\Manifest\Sophia.psd1 -PassThru -Force

2
Sophia Script/Sophia Script for Windows 10 PowerShell 7/Manifest/Sophia.psd1

@ -1,6 +1,6 @@
@{
RootModule = '..\Module\Sophia.psm1'
ModuleVersion = '5.12.8'
ModuleVersion = '5.12.9'
GUID = 'aa0b47a7-1770-4b5d-8c9f-cc6c505bcc7a'
Author = 'Dmitry "farag" Nefedov'
Copyright = '(c) 2014—2021 farag & Inestic. All rights reserved'

8
Sophia Script/Sophia Script for Windows 10 PowerShell 7/Module/Sophia.psm1

@ -2,8 +2,8 @@
.SYNOPSIS
Sophia Script is a PowerShell module for Windows 10 & Windows 11 fine-tuning and automating the routine tasks
Version: v5.12.8
Date: 14.12.2021
Version: v5.12.9
Date: 15.12.2021
Copyright (c) 20142021 farag
Copyright (c) 20192021 farag & Inestic
@ -213,7 +213,7 @@ function Checkings
if ($Warning)
{
# Get the name of a preset (e.g Sophia.ps1) regardless it was named
$PresetName = Split-Path -Path ((Get-PSCallStack).Position | Where-Object -FilterScript {$null -eq $_.File}).Text -Leaf
$PresetName = Split-Path -Path ((Get-PSCallStack).Position | Where-Object -FilterScript {$_.File -match ".ps1"}).File -Leaf
$Title = ""
$Message = $Localization.CustomizationWarning -f $PresetName
@ -227,7 +227,7 @@ function Checkings
{
"0"
{
Invoke-Item -Path $PSScriptRoot\..\$PresetName.ps1
Invoke-Item -Path $PSScriptRoot\..\$PresetName
Start-Sleep -Seconds 5

6
Sophia Script/Sophia Script for Windows 10 PowerShell 7/Sophia.ps1

@ -2,8 +2,8 @@
.SYNOPSIS
Default preset file for "Sophia Script for Windows 10 (PowerShell 7)"
Version: v5.12.8
Date: 14.12.2021
Version: v5.12.9
Date: 15.12.2021
Copyright (c) 20142021 farag
Copyright (c) 20192021 farag & Inestic
@ -71,7 +71,7 @@ param
Clear-Host
$Host.UI.RawUI.WindowTitle = "Sophia Script for Windows 10 v5.12.8 (PowerShell 7) | Made with $([char]::ConvertFromUtf32(0x1F497)) of Windows | $([char]0x00A9) farag & Inestic, 2014$([char]0x2013)2021"
$Host.UI.RawUI.WindowTitle = "Sophia Script for Windows 10 v5.12.9 (PowerShell 7) | Made with $([char]::ConvertFromUtf32(0x1F497)) of Windows | $([char]0x00A9) farag & Inestic, 2014$([char]0x2013)2021"
Remove-Module -Name Sophia -Force -ErrorAction Ignore
Import-Module -Name $PSScriptRoot\Manifest\Sophia.psd1 -PassThru -Force

6
Sophia Script/Sophia Script for Windows 10/Functions.ps1

@ -2,8 +2,8 @@
.SYNOPSIS
The TAB completion for functions and their arguments
Version: v5.12.8
Date: 14.12.2021
Version: v5.12.9
Date: 15.12.2021
Copyright (c) 20142021 farag
Copyright (c) 20192021 farag & Inestic
@ -54,7 +54,7 @@ function Sophia
Clear-Host
$Host.UI.RawUI.WindowTitle = "Sophia Script for Windows 10 v5.12.8 | Made with $([char]::ConvertFromUtf32(0x1F497)) of Windows | $([char]0x00A9) farag & Inestic, 2014$([char]0x2013)2021"
$Host.UI.RawUI.WindowTitle = "Sophia Script for Windows 10 v5.12.9 | Made with $([char]::ConvertFromUtf32(0x1F497)) of Windows | $([char]0x00A9) farag & Inestic, 2014$([char]0x2013)2021"
Remove-Module -Name Sophia -Force -ErrorAction Ignore
Import-Module -Name $PSScriptRoot\Manifest\Sophia.psd1 -PassThru -Force

2
Sophia Script/Sophia Script for Windows 10/Manifest/Sophia.psd1

@ -1,6 +1,6 @@
@{
RootModule = '..\Module\Sophia.psm1'
ModuleVersion = '5.12.8'
ModuleVersion = '5.12.9'
GUID = '109cc881-c42b-45af-a74a-550781989d6a'
Author = 'Dmitry "farag" Nefedov'
Copyright = '(c) 2014—2021 farag & Inestic. All rights reserved'

8
Sophia Script/Sophia Script for Windows 10/Module/Sophia.psm1

@ -2,8 +2,8 @@
.SYNOPSIS
Sophia Script is a PowerShell module for Windows 10 & Windows 11 fine-tuning and automating the routine tasks
Version: v5.12.8
Date: 14.12.2021
Version: v5.12.9
Date: 15.12.2021
Copyright (c) 20142021 farag
Copyright (c) 20192021 farag & Inestic
@ -201,7 +201,7 @@ function Checkings
if ($Warning)
{
# Get the name of a preset (e.g Sophia.ps1) regardless it was named
$PresetName = Split-Path -Path ((Get-PSCallStack).Position | Where-Object -FilterScript {$null -eq $_.File}).Text -Leaf
$PresetName = Split-Path -Path ((Get-PSCallStack).Position | Where-Object -FilterScript {$_.File -match ".ps1"}).File -Leaf
$Title = ""
$Message = $Localization.CustomizationWarning -f $PresetName
@ -215,7 +215,7 @@ function Checkings
{
"0"
{
Invoke-Item -Path $PSScriptRoot\..\$PresetName.ps1
Invoke-Item -Path $PSScriptRoot\..\$PresetName
Start-Sleep -Seconds 5

6
Sophia Script/Sophia Script for Windows 10/Sophia.ps1

@ -2,8 +2,8 @@
.SYNOPSIS
Default preset file for "Sophia Script for Windows 10"
Version: v5.12.8
Date: 14.12.2021
Version: v5.12.9
Date: 15.12.2021
Copyright (c) 20142021 farag
Copyright (c) 20192021 farag & Inestic
@ -71,7 +71,7 @@ param
Clear-Host
$Host.UI.RawUI.WindowTitle = "Sophia Script for Windows 10 v5.12.8 | Made with $([char]::ConvertFromUtf32(0x1F497)) of Windows | $([char]0x00A9) farag & Inestic, 2014$([char]0x2013)2021"
$Host.UI.RawUI.WindowTitle = "Sophia Script for Windows 10 v5.12.9 | Made with $([char]::ConvertFromUtf32(0x1F497)) of Windows | $([char]0x00A9) farag & Inestic, 2014$([char]0x2013)2021"
Remove-Module -Name Sophia -Force -ErrorAction Ignore
Import-Module -Name $PSScriptRoot\Manifest\Sophia.psd1 -PassThru -Force

6
Sophia Script/Sophia Script for Windows 11 PowerShell 7/Functions.ps1

@ -2,8 +2,8 @@
.SYNOPSIS
The TAB completion for functions and their arguments
Version: v6.0.9
Date: 14.12.2021
Version: v6.0.10
Date: 15.12.2021
Copyright (c) 20142021 farag
Copyright (c) 20192021 farag & Inestic
@ -54,7 +54,7 @@ function Sophia
Clear-Host
$Host.UI.RawUI.WindowTitle = "Sophia Script for Windows 11 v6.0.9 | Made with $([char]::ConvertFromUtf32(0x1F497)) of Windows | $([char]0x00A9) farag & Inestic, 2014$([char]0x2013)2021"
$Host.UI.RawUI.WindowTitle = "Sophia Script for Windows 11 v6.0.10 | Made with $([char]::ConvertFromUtf32(0x1F497)) of Windows | $([char]0x00A9) farag & Inestic, 2014$([char]0x2013)2021"
Remove-Module -Name Sophia -Force -ErrorAction Ignore
Import-Module -Name $PSScriptRoot\Manifest\Sophia.psd1 -PassThru -Force

2
Sophia Script/Sophia Script for Windows 11 PowerShell 7/Manifest/Sophia.psd1

@ -1,6 +1,6 @@
@{
RootModule = '..\Module\Sophia.psm1'
ModuleVersion = '6.0.9'
ModuleVersion = '6.0.10'
GUID = '109cc881-c42b-45af-a74a-550781989d6a'
Author = 'Dmitry "farag" Nefedov'
Copyright = '(c) 2014—2021 farag & Inestic. All rights reserved'

8
Sophia Script/Sophia Script for Windows 11 PowerShell 7/Module/Sophia.psm1

@ -2,8 +2,8 @@
.SYNOPSIS
Sophia Script is a PowerShell module for Windows 10 & Windows 11 fine-tuning and automating the routine tasks
Version: v6.0.9
Date: 14.12.2021
Version: v6.0.10
Date: 15.12.2021
Copyright (c) 20142021 farag
Copyright (c) 20192021 farag & Inestic
@ -202,7 +202,7 @@ function Checkings
if ($Warning)
{
# Get the name of a preset (e.g Sophia.ps1) regardless it was named
$PresetName = Split-Path -Path ((Get-PSCallStack).Position | Where-Object -FilterScript {$null -eq $_.File}).Text -Leaf
$PresetName = Split-Path -Path ((Get-PSCallStack).Position | Where-Object -FilterScript {$_.File -match ".ps1"}).File -Leaf
$Title = ""
$Message = $Localization.CustomizationWarning -f $PresetName
@ -216,7 +216,7 @@ function Checkings
{
"0"
{
Invoke-Item -Path $PSScriptRoot\..\$PresetName.ps1
Invoke-Item -Path $PSScriptRoot\..\$PresetName
Start-Sleep -Seconds 5

6
Sophia Script/Sophia Script for Windows 11 PowerShell 7/Sophia.ps1

@ -2,8 +2,8 @@
.SYNOPSIS
Default preset file for "Sophia Script for Windows 11"
Version: v6.0.9
Date: 14.12.2021
Version: v6.0.10
Date: 15.12.2021
Copyright (c) 20142021 farag
Copyright (c) 20192021 farag & Inestic
@ -70,7 +70,7 @@ param
Clear-Host
$Host.UI.RawUI.WindowTitle = "Sophia Script for Windows 11 v6.0.9 (PowerShell 7) | Made with $([char]::ConvertFromUtf32(0x1F497)) of Windows | $([char]0x00A9) farag & Inestic, 2014$([char]0x2013)2021"
$Host.UI.RawUI.WindowTitle = "Sophia Script for Windows 11 v6.0.10 (PowerShell 7) | Made with $([char]::ConvertFromUtf32(0x1F497)) of Windows | $([char]0x00A9) farag & Inestic, 2014$([char]0x2013)2021"
Remove-Module -Name Sophia -Force -ErrorAction Ignore
Import-Module -Name $PSScriptRoot\Manifest\Sophia.psd1 -PassThru -Force

6
Sophia Script/Sophia Script for Windows 11/Functions.ps1

@ -2,8 +2,8 @@
.SYNOPSIS
The TAB completion for functions and their arguments
Version: v6.0.9
Date: 14.12.2021
Version: v6.0.10
Date: 15.12.2021
Copyright (c) 20142021 farag
Copyright (c) 20192021 farag & Inestic
@ -54,7 +54,7 @@ function Sophia
Clear-Host
$Host.UI.RawUI.WindowTitle = "Sophia Script for Windows 11 v6.0.9 | Made with $([char]::ConvertFromUtf32(0x1F497)) of Windows | $([char]0x00A9) farag & Inestic, 2014$([char]0x2013)2021"
$Host.UI.RawUI.WindowTitle = "Sophia Script for Windows 11 v6.0.10 | Made with $([char]::ConvertFromUtf32(0x1F497)) of Windows | $([char]0x00A9) farag & Inestic, 2014$([char]0x2013)2021"
Remove-Module -Name Sophia -Force -ErrorAction Ignore
Import-Module -Name $PSScriptRoot\Manifest\Sophia.psd1 -PassThru -Force

2
Sophia Script/Sophia Script for Windows 11/Manifest/Sophia.psd1

@ -1,6 +1,6 @@
@{
RootModule = '..\Module\Sophia.psm1'
ModuleVersion = '6.0.9'
ModuleVersion = '6.0.10'
GUID = '109cc881-c42b-45af-a74a-550781989d6a'
Author = 'Dmitry "farag" Nefedov'
Copyright = '(c) 2014—2021 farag & Inestic. All rights reserved'

8
Sophia Script/Sophia Script for Windows 11/Module/Sophia.psm1

@ -2,8 +2,8 @@
.SYNOPSIS
Sophia Script is a PowerShell module for Windows 10 & Windows 11 fine-tuning and automating the routine tasks
Version: v6.0.9
Date: 14.12.2021
Version: v6.0.10
Date: 15.12.2021
Copyright (c) 20142021 farag
Copyright (c) 20192021 farag & Inestic
@ -190,7 +190,7 @@ function Checkings
if ($Warning)
{
# Get the name of a preset (e.g Sophia.ps1) regardless it was named
$PresetName = Split-Path -Path ((Get-PSCallStack).Position | Where-Object -FilterScript {$null -eq $_.File}).Text -Leaf
$PresetName = Split-Path -Path ((Get-PSCallStack).Position | Where-Object -FilterScript {$_.File -match ".ps1"}).File -Leaf
$Title = ""
$Message = $Localization.CustomizationWarning -f $PresetName
@ -204,7 +204,7 @@ function Checkings
{
"0"
{
Invoke-Item -Path $PSScriptRoot\..\$PresetName.ps1
Invoke-Item -Path $PSScriptRoot\..\$PresetName
Start-Sleep -Seconds 5

6
Sophia Script/Sophia Script for Windows 11/Sophia.ps1

@ -2,8 +2,8 @@
.SYNOPSIS
Default preset file for "Sophia Script for Windows 11"
Version: v6.0.9
Date: 14.12.2021
Version: v6.0.10
Date: 15.12.2021
Copyright (c) 20142021 farag
Copyright (c) 20192021 farag & Inestic
@ -70,7 +70,7 @@ param
Clear-Host
$Host.UI.RawUI.WindowTitle = "Sophia Script for Windows 11 v6.0.9 | Made with $([char]::ConvertFromUtf32(0x1F497)) of Windows | $([char]0x00A9) farag & Inestic, 2014$([char]0x2013)2021"
$Host.UI.RawUI.WindowTitle = "Sophia Script for Windows 11 v6.0.10 | Made with $([char]::ConvertFromUtf32(0x1F497)) of Windows | $([char]0x00A9) farag & Inestic, 2014$([char]0x2013)2021"
Remove-Module -Name Sophia -Force -ErrorAction Ignore
Import-Module -Name $PSScriptRoot\Manifest\Sophia.psd1 -PassThru -Force

Loading…
Cancel
Save