2025-03-12 18:55:32 UTC
2.17 GB
UTF-8
PYTHON_SHA2562a52993092a19cfdffe126e2eeac46a4265e25705614546604ad44988e040c0f
PYTHON_VERSION3.12.9
[#000] sha256:2534953f34d35976fc44cd67bfdd39fdcd9e2eaae57ada0be53d5fb936cd3a0b - 62.76% (1.36 GB)
[#001] sha256:75861b2b3af9a692daa04d9c15a1c79d8a009e23ed5140003350c9b926460f09 - 34.67% (770 MB)
[#002] sha256:2992cfee4a8a03d26a5f52f0f69acafa648b5757d143d21d98522c887d07c449 - 0.0% (1.3 KB)
[#003] sha256:7f331a3ba5eb9785c558490c986f306f28f3c3385ccac3752b4f053e583a253d - 0.0% (1.25 KB)
[#004] sha256:246785186c2ea9d38a2bf7766b1f0a19c5803bb00b953725e1ac7fa17a9aae27 - 0.0% (1.25 KB)
[#005] sha256:bcdedecadbaca5b44e37bb50483c44e212efc7b64b5251ddc36c1286354285d3 - 0.0% (1.25 KB)
[#006] sha256:74a043e0a111b1a6b32380df89edc23d32c905c60a14e37372bc9f0088e28e35 - 2.57% (57.2 MB)
[#007] sha256:980de137b96e235773fb475806933aec82fb16e19a7a5b5193ff374c70372e4c - 0.0% (1.25 KB)
Apply image 10.0.20348.2700
2025-03-06 10:49:01 UTCInstall update 10.0.20348.3328
2025-03-12 18:54:44 UTCpowershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) SHELL [powershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue';]
2025-03-12 18:54:44 UTCpowershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) ENV PYTHONIOENCODING=UTF-8
2025-03-12 18:54:45 UTCpowershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) ENV PYTHON_VERSION=3.12.9
2025-03-12 18:54:46 UTCpowershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) ENV PYTHON_SHA256=2a52993092a19cfdffe126e2eeac46a4265e25705614546604ad44988e040c0f
2025-03-12 18:55:31 UTCpowershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; $url = ('https://www.python.org/ftp/python/{0}/python-{1}-amd64.exe' -f ($env:PYTHON_VERSION -replace '[a-z]+[0-9]*$', ''), $env:PYTHON_VERSION); Write-Host ('Downloading {0} ...' -f $url); [Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12; Invoke-WebRequest -Uri $url -OutFile 'python.exe'; Write-Host ('Verifying sha256 ({0}) ...' -f $env:PYTHON_SHA256); if ((Get-FileHash python.exe -Algorithm sha256).Hash -ne $env:PYTHON_SHA256) { Write-Host 'FAILED!'; exit 1; }; Write-Host 'Installing ...'; $exitCode = (Start-Process python.exe -Wait -NoNewWindow -PassThru -ArgumentList @( '/quiet', 'InstallAllUsers=1', 'TargetDir=C:\Python', 'PrependPath=1', 'Shortcuts=0', 'Include_doc=0', 'Include_pip=1', 'Include_test=0' ) ).ExitCode; if ($exitCode -ne 0) { Write-Host ('Running python installer failed with exit code: {0}' -f $exitCode); Get-ChildItem $env:TEMP | Sort-Object -Descending -Property LastWriteTime | Select-Object -First 1 | Get-Content; exit $exitCode; } $env:PATH = [Environment]::GetEnvironmentVariable('PATH', [EnvironmentVariableTarget]::Machine); Write-Host 'Verifying install ...'; Write-Host ' python --version'; python --version; Write-Host 'Removing ...'; Remove-Item python.exe -Force; Remove-Item $env:TEMP/Python*.log -Force; $env:PYTHONDONTWRITEBYTECODE = '1'; Write-Host 'Verifying pip install ...'; pip --version; Write-Host 'Complete.'
2025-03-12 18:55:32 UTCpowershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) CMD ["python"]