From d0d1f31555b3ddd0608067de44c069c80223a51a Mon Sep 17 00:00:00 2001 From: Dmitry Nefedov Date: Sun, 2 Apr 2023 16:46:02 +0300 Subject: [PATCH] Fixed typo --- src/Sophia_Script_for_Windows_10/Module/Sophia.psm1 | 4 ++-- src/Sophia_Script_for_Windows_10_LTSC_2019/Module/Sophia.psm1 | 4 ++-- src/Sophia_Script_for_Windows_10_LTSC_2021/Module/Sophia.psm1 | 4 ++-- .../Module/Sophia.psm1 | 4 ++-- src/Sophia_Script_for_Windows_11/Module/Sophia.psm1 | 4 ++-- .../Module/Sophia.psm1 | 4 ++-- 6 files changed, 12 insertions(+), 12 deletions(-) diff --git a/src/Sophia_Script_for_Windows_10/Module/Sophia.psm1 b/src/Sophia_Script_for_Windows_10/Module/Sophia.psm1 index 2e542e24..5eeeb9b5 100644 --- a/src/Sophia_Script_for_Windows_10/Module/Sophia.psm1 +++ b/src/Sophia_Script_for_Windows_10/Module/Sophia.psm1 @@ -664,8 +664,8 @@ public static string GetString(uint strId) # To stop logging just close the console or type "Stop-Transcript" function Logging { - $TrascriptFilename = "Log-$((Get-Date).ToString("dd.MM.yyyy-HH-mm"))" - Start-Transcript -Path $PSScriptRoot\..\$TrascriptFilename.txt -Force + $TranscriptFilename = "Log-$((Get-Date).ToString("dd.MM.yyyy-HH-mm"))" + Start-Transcript -Path $PSScriptRoot\..\$TranscriptFilename.txt -Force } # Create a restore point for the system drive 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 f15c5477..7d2f5813 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 @@ -565,8 +565,8 @@ public static string GetString(uint strId) # To stop logging just close the console or type "Stop-Transcript" function Logging { - $TrascriptFilename = "Log-$((Get-Date).ToString("dd.MM.yyyy-HH-mm"))" - Start-Transcript -Path $PSScriptRoot\..\$TrascriptFilename.txt -Force + $TranscriptFilename = "Log-$((Get-Date).ToString("dd.MM.yyyy-HH-mm"))" + Start-Transcript -Path $PSScriptRoot\..\$TranscriptFilename.txt -Force } # Create a restore point for the system drive 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 a90553b1..6a0a048b 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 @@ -565,8 +565,8 @@ public static string GetString(uint strId) # To stop logging just close the console or type "Stop-Transcript" function Logging { - $TrascriptFilename = "Log-$((Get-Date).ToString("dd.MM.yyyy-HH-mm"))" - Start-Transcript -Path $PSScriptRoot\..\$TrascriptFilename.txt -Force + $TranscriptFilename = "Log-$((Get-Date).ToString("dd.MM.yyyy-HH-mm"))" + Start-Transcript -Path $PSScriptRoot\..\$TranscriptFilename.txt -Force } # Create a restore point for the system drive 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 47680a36..d7eb71ba 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 @@ -673,8 +673,8 @@ public static string GetString(uint strId) # To stop logging just close the console or type "Stop-Transcript" function Logging { - $TrascriptFilename = "Log-$((Get-Date).ToString("dd.MM.yyyy-HH-mm"))" - Start-Transcript -Path $PSScriptRoot\..\$TrascriptFilename.txt -Force + $TranscriptFilename = "Log-$((Get-Date).ToString("dd.MM.yyyy-HH-mm"))" + Start-Transcript -Path $PSScriptRoot\..\$TranscriptFilename.txt -Force } # Create a restore point for the system drive diff --git a/src/Sophia_Script_for_Windows_11/Module/Sophia.psm1 b/src/Sophia_Script_for_Windows_11/Module/Sophia.psm1 index 7281dfa9..17fcec6f 100644 --- a/src/Sophia_Script_for_Windows_11/Module/Sophia.psm1 +++ b/src/Sophia_Script_for_Windows_11/Module/Sophia.psm1 @@ -718,8 +718,8 @@ public static string GetString(uint strId) # To stop logging just close the console or type "Stop-Transcript" function Logging { - $TrascriptFilename = "Log-$((Get-Date).ToString("dd.MM.yyyy-HH-mm"))" - Start-Transcript -Path $PSScriptRoot\..\$TrascriptFilename.txt -Force + $TranscriptFilename = "Log-$((Get-Date).ToString("dd.MM.yyyy-HH-mm"))" + Start-Transcript -Path $PSScriptRoot\..\$TranscriptFilename.txt -Force } # Create a restore point for the system drive 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 6582c627..2a43abf4 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 @@ -726,8 +726,8 @@ public static string GetString(uint strId) # To stop logging just close the console or type "Stop-Transcript" function Logging { - $TrascriptFilename = "Log-$((Get-Date).ToString("dd.MM.yyyy-HH-mm"))" - Start-Transcript -Path $PSScriptRoot\..\$TrascriptFilename.txt -Force + $TranscriptFilename = "Log-$((Get-Date).ToString("dd.MM.yyyy-HH-mm"))" + Start-Transcript -Path $PSScriptRoot\..\$TranscriptFilename.txt -Force } # Create a restore point for the system drive