Skip to content

Instantly share code, notes, and snippets.

@Pyromaniaxxx
Last active August 20, 2016 15:11
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Pyromaniaxxx/f1dfca1c062883bacf76a37c9cad5fef to your computer and use it in GitHub Desktop.
Save Pyromaniaxxx/f1dfca1c062883bacf76a37c9cad5fef to your computer and use it in GitHub Desktop.
Azure Stack TP1 インストール後の諸々作業用
Set-Location $PSScriptRoot
Invoke-WebRequest -Uri 'http://aka.ms/azStackPsh' -OutFile ((Invoke-WebRequest -Uri http://aka.ms/azStackPsh).Headers.'Content-Disposition'.Split('=')[1] | Where-Object {$_ -like "*.exe"})
Invoke-WebRequest -Uri 'http://aka.ms/massqlrprfrsh' -OutFile MSSQLRP.exe
Invoke-WebRequest -Uri 'http://aka.ms/MASMySQLRP' -OutFile mySQLRP.exe
Invoke-WebRequest -Uri 'http://aka.ms/azasinstaller' -OutFile AppService.exe
Invoke-WebRequest -Uri 'http://aka.ms/azashelper' -OutFile AppServiceHelperScripts.zip
.\MSSQLRP.exe -s2
.\mySQLRP.exe -s2
sleep -Seconds 10
Move-Item -Path "AzureStack.Sql.*" -Destination D:\SQLRP\ -Force
Move-Item -Path "AzureStack.MySql.*" -Destination D:\mySQLRP\ -Force
Expand-Archive AppServiceHelperScripts.zip "AppService" -Force
Move-Item .\AppService.exe .\AppService -Force
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment