Skip to content

Instantly share code, notes, and snippets.

@PixelRobots
Last active July 22, 2017 15:23
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 PixelRobots/88861a9567a820a4bb59c40a0aae7a83 to your computer and use it in GitHub Desktop.
Save PixelRobots/88861a9567a820a4bb59c40a0aae7a83 to your computer and use it in GitHub Desktop.
Set-PSRepository -Name "PSGallery" -InstallationPolicy Trusted
Get-Module -ListAvailable | where-Object {$_.Name -like "Azure*"} | Uninstall-Module
Cd "C:\Program Files\WindowsPowerShell\Modules"; get-childitem -include "Azure*" -recurse -force| remove-Item -Force -Recurse
Cd "C:\Users\AzureStackAdmin\Documents\WindowsPowerShell\Modules"; get-childitem -include "Azure*" -recurse -force| remove-Item -Force -Recurse
Install-module -Name AzureRm.BootStrapper
use-AzureRMProfile -Profile 2017-03-09-profile -Force
Install-Module -Name AzureStack -RequiredVersion 1.2.10
Get-Module -ListAvailable | where-Object {$_.Name -like "Azure*"}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment