|
@ -167,26 +167,32 @@ switch ($Version) |
|
|
"LTSC2019" |
|
|
"LTSC2019" |
|
|
{ |
|
|
{ |
|
|
Invoke-Item -Path "$DownloadsFolder\Sophia_Script_for_Windows_10_LTSC_2019_v$LatestRelease" |
|
|
Invoke-Item -Path "$DownloadsFolder\Sophia_Script_for_Windows_10_LTSC_2019_v$LatestRelease" |
|
|
|
|
|
Set-Location -Path "$DownloadsFolder\Sophia_Script_for_Windows_10_LTSC_2019_v$LatestRelease" |
|
|
} |
|
|
} |
|
|
"LTSC2021" |
|
|
"LTSC2021" |
|
|
{ |
|
|
{ |
|
|
Invoke-Item -Path "$DownloadsFolder\Sophia_Script_for_Windows_10_LTSC_2021_v$LatestRelease" |
|
|
Invoke-Item -Path "$DownloadsFolder\Sophia_Script_for_Windows_10_LTSC_2021_v$LatestRelease" |
|
|
|
|
|
Set-Location -Path "$DownloadsFolder\Sophia_Script_for_Windows_10_LTSC_2021_v$LatestRelease" |
|
|
} |
|
|
} |
|
|
"Windows_10_PowerShell_5.1" |
|
|
"Windows_10_PowerShell_5.1" |
|
|
{ |
|
|
{ |
|
|
Invoke-Item -Path "$DownloadsFolder\Sophia_Script_for_Windows_10_v$LatestRelease" |
|
|
Invoke-Item -Path "$DownloadsFolder\Sophia_Script_for_Windows_10_v$LatestRelease" |
|
|
|
|
|
Set-Location -Path "$DownloadsFolder\Sophia_Script_for_Windows_10_v$LatestRelease" |
|
|
} |
|
|
} |
|
|
"Windows_10_PowerShell_7" |
|
|
"Windows_10_PowerShell_7" |
|
|
{ |
|
|
{ |
|
|
Invoke-Item -Path "$DownloadsFolder\Sophia_Script_for_Windows_10_PowerShell_7_v$LatestRelease" |
|
|
Invoke-Item -Path "$DownloadsFolder\Sophia_Script_for_Windows_10_PowerShell_7_v$LatestRelease" |
|
|
|
|
|
Set-Location -Path "$DownloadsFolder\Sophia_Script_for_Windows_10_PowerShell_7_v$LatestRelease" |
|
|
} |
|
|
} |
|
|
"Windows_11_PowerShell_5.1" |
|
|
"Windows_11_PowerShell_5.1" |
|
|
{ |
|
|
{ |
|
|
Invoke-Item -Path "$DownloadsFolder\Sophia_Script_for_Windows_11_v$LatestRelease" |
|
|
Invoke-Item -Path "$DownloadsFolder\Sophia_Script_for_Windows_11_v$LatestRelease" |
|
|
|
|
|
Set-Location -Path "$DownloadsFolder\Sophia_Script_for_Windows_11_v$LatestRelease" |
|
|
} |
|
|
} |
|
|
"Windows_11_PowerShell_7" |
|
|
"Windows_11_PowerShell_7" |
|
|
{ |
|
|
{ |
|
|
Invoke-Item -Path "$DownloadsFolder\Sophia_Script_for_Windows_11_PowerShell_7_v$LatestRelease" |
|
|
Invoke-Item -Path "$DownloadsFolder\Sophia_Script_for_Windows_11_PowerShell_7_v$LatestRelease" |
|
|
|
|
|
Set-Location -Path "$DownloadsFolder\Sophia_Script_for_Windows_11_PowerShell_7_v$LatestRelease" |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|