Get-ChildItem -Path "Sophia Script\Sophia Script for Windows 10" -Recurse -Force | Copy-Item -Destination "Sophia Script for Windows 10 v$LatestRelease" -Recurse -Force
Get-ChildItem -Path "Sophia Script\Sophia Script for Windows 10" -Force | Copy-Item -Destination "Sophia Script for Windows 10 v$LatestRelease" -Recurse -Force
$Parameters = @{
$Parameters = @{
Path = "Sophia Script for Windows 10 v$LatestRelease"
Path = "Sophia Script for Windows 10 v$LatestRelease"
@ -123,7 +123,7 @@ jobs:
Force = $true
Force = $true
}
}
Copy-Item @Parameters
Copy-Item @Parameters
Get-ChildItem -Path "Sophia Script\Sophia Script for Windows 10 PowerShell 7" -Recurse -Force | Copy-Item -Destination "Sophia Script for Windows 10 PowerShell 7 v$LatestRelease" -Recurse -Force
Get-ChildItem -Path "Sophia Script\Sophia Script for Windows 10 PowerShell 7" -Force | Copy-Item -Destination "Sophia Script for Windows 10 PowerShell 7 v$LatestRelease" -Recurse -Force
$Parameters = @{
$Parameters = @{
Path = "Sophia Script for Windows 10 PowerShell 7 v$LatestRelease"
Path = "Sophia Script for Windows 10 PowerShell 7 v$LatestRelease"
@ -156,7 +156,7 @@ jobs:
Force = $true
Force = $true
}
}
Copy-Item @Parameters
Copy-Item @Parameters
Get-ChildItem -Path "Sophia Script\Sophia Script for Windows 10 LTSC 2019" -Recurse -Force | Copy-Item -Destination "Sophia Script for Windows 10 LTSC 2019 v$LatestRelease" -Recurse -Force
Get-ChildItem -Path "Sophia Script\Sophia Script for Windows 10 LTSC 2019" -Force | Copy-Item -Destination "Sophia Script for Windows 10 LTSC 2019 v$LatestRelease" -Recurse -Force
$Parameters = @{
$Parameters = @{
Path = "Sophia Script for Windows 10 LTSC 2019 v$LatestRelease"
Path = "Sophia Script for Windows 10 LTSC 2019 v$LatestRelease"
@ -189,7 +189,7 @@ jobs:
Force = $true
Force = $true
}
}
Copy-Item @Parameters
Copy-Item @Parameters
Get-ChildItem -Path "Sophia Script\Sophia Script for Windows 10 LTSC 2021" -Recurse -Force | Copy-Item -Destination "Sophia Script for Windows 10 LTSC 2021 v$LatestRelease" -Recurse -Force
Get-ChildItem -Path "Sophia Script\Sophia Script for Windows 10 LTSC 2021" -Force | Copy-Item -Destination "Sophia Script for Windows 10 LTSC 2021 v$LatestRelease" -Recurse -Force
$Parameters = @{
$Parameters = @{
Path = "Sophia Script for Windows 10 LTSC 2021 v$LatestRelease"
Path = "Sophia Script for Windows 10 LTSC 2021 v$LatestRelease"
@ -222,7 +222,7 @@ jobs:
Force = $true
Force = $true
}
}
Copy-Item @Parameters
Copy-Item @Parameters
Get-ChildItem -Path "Sophia Script\Sophia Script for Windows 11" -Recurse -Force | Copy-Item -Destination "Sophia Script for Windows 11 v$LatestRelease" -Recurse -Force
Get-ChildItem -Path "Sophia Script\Sophia Script for Windows 11" -Force | Copy-Item -Destination "Sophia Script for Windows 11 v$LatestRelease" -Recurse -Force
$Parameters = @{
$Parameters = @{
Path = "Sophia Script for Windows 11 v$LatestRelease"
Path = "Sophia Script for Windows 11 v$LatestRelease"
@ -255,7 +255,7 @@ jobs:
Force = $true
Force = $true
}
}
Copy-Item @Parameters
Copy-Item @Parameters
Get-ChildItem -Path "Sophia Script\Sophia Script for Windows 11 PowerShell 7" -Recurse -Force | Copy-Item -Destination "Sophia Script for Windows 11 PowerShell 7 v$LatestRelease" -Recurse -Force
Get-ChildItem -Path "Sophia Script\Sophia Script for Windows 11 PowerShell 7" -Force | Copy-Item -Destination "Sophia Script for Windows 11 PowerShell 7 v$LatestRelease" -Recurse -Force
$Parameters = @{
$Parameters = @{
Path = "Sophia Script for Windows 11 PowerShell 7 v$LatestRelease"
Path = "Sophia Script for Windows 11 PowerShell 7 v$LatestRelease"