AzureStack-Tools/Support/AzS_PoSh
Krishna Nithin 42574e9f37
Merge branch 'vnext' into master
2018-01-06 16:34:09 -08:00
..
Media .net UI Update (#373) 2017-11-20 12:21:01 -08:00
AzS-PoSh-Environment.ps1 Support VNext update (#374) 2017-11-27 15:10:59 -08:00
ReadMe.md Merge branch 'vnext' into master 2018-01-06 16:34:09 -08:00

ReadMe.md

AzS-PoSh-Environment.ps1

Script to setup AzureStack PowerShell Enviroment

Via UI or CLI the script will insure Azure Stack PowerShell modules are running at the proper version. Build AzureStack endpoint environment variables from supplied JSON file. Download and extract AzureStack-Tools-master Toolkit. Builds a function called AzSLoadTools that imports modules in proper order. If no parameters are supplied the script will default to prompting user via GUI for needed parameters.

AzSPathToStampJSON

Path to AzureStackStampInformation.json file

  • "C:\Users\AzureStackAdmin\Desktop\AzureStackStampInformation.json"

AzSToolsPath

Path to AzureStack-Tools-master folder

  • "C:\Users\AzureStackAdmin\Desktop\master\AzureStack-Tools-master"

Example Use

.\AzS-PS-Environment.ps1 -AzSPathToStampJSON "C:\Users\AzureStackAdmin\Desktop\AzureStackStampInformation.json" -AzSToolsPath "C:\Users\AzureStackAdmin\Desktop\master\AzureStack-Tools-master"