Last active
April 4, 2018 18:19
-
-
Save MarkRobertJohnson/161b184adbd6cd7a799f2b9abbcf8618 to your computer and use it in GitHub Desktop.
Install Service Fabric
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
if(!(Get-Command choco -erroraction SilentlyContinue)) { | |
Set-ExecutionPolicy Bypass -Scope Process -Force; iex ((New-Object System.Net.WebClient).DownloadString('https://chocolatey.org/install.ps1')) | |
} | |
choco install webpicmd -y | |
$webpicmd = 'webpicmd' | |
if(!(Get-Command $webpicmd -erroraction SilentlyContinue )) { | |
$webpicmd = 'C:\Program Files\Microsoft\Web Platform Installer\WebpiCmd.exe' | |
} | |
& "$webpicmd" /Install /Products:MicrosoftAzure-ServiceFabric-CoreSDK /AcceptEula | |
& "$webpicmd" /install /Products:WindowsAzurePowershellGet /AcceptEula |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment