Last active
July 7, 2020 12:44
-
-
Save TakamiChie/98902ef2c4ffb21ab78841a530f151f7 to your computer and use it in GitHub Desktop.
19H2対応版:chocolateyとMicrosoft TeamsとChromium EdgeをセットアップしUI設定を日本語に設定したWindowsサンドボックスを立ち上げる(全ファイルを同じフォルダにおいてね)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Set-Content -Path "$env:TEMP\temp.wsb" -Value (Get-Content "$PSScriptRoot\template.wsb" | % { $_ -replace "%CURRENT%", $PSScriptRoot }) | |
Start-Process $env:TEMP\temp.wsb -Wait | |
Remove-Item "$env:TEMP\temp.wsb" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
"%SystemRoot%\System32\WindowsPowerShell\v1.0\powershell.exe" -NoProfile -InputFormat None -ExecutionPolicy Bypass -Command "iex ((New-Object System.Net.WebClient).DownloadString('https://chocolatey.org/install.ps1'))" && SET "PATH=%PATH%;%ALLUSERSPROFILE%\chocolatey\bin" | |
choco.exe install -y -f microsoft-teams | |
choco.exe install -y -f microsoft-edge | |
powershell Set-WinUserLanguageList -Force ja-JP | |
powershell Set-Culture -CultureInfo ja-JP |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<Configuration> | |
<VGpu>Default</VGpu> | |
<Networking>Default</Networking> | |
<MappedFolders> | |
<MappedFolder> | |
<HostFolder>%CURRENT%</HostFolder> | |
<ReadOnly>true</ReadOnly> | |
</MappedFolder> | |
</MappedFolders> | |
<LogonCommand> | |
<Command>C:\Users\WDAGUtilityAccount\Desktop\sandbox\run.cmd</Command> | |
</LogonCommand> | |
</Configuration> | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment