[Windows] Add the list of installed PowerShell modules to documentation (#1266)

* documenation about powershell modules

* add powershell modules documenation

* add PSMODULES_ROOT_FOLDER
This commit is contained in:
Aleksandr Chebotov
2020-07-23 16:32:41 +03:00
committed by GitHub
parent 544204ec06
commit 00463a8fab
14 changed files with 112 additions and 40 deletions

View File

@@ -117,9 +117,12 @@
{
"type": "powershell",
"environment_vars": [
"ImageVersion={{user `image_version`}}"
"ImageVersion={{user `image_version`}}",
"TOOLSET_JSON_PATH={{user `toolset_json_path`}}",
"PSMODULES_ROOT_FOLDER={{user `psmodules_root_folder`}}"
],
"scripts":[
"{{ template_dir }}/scripts/Installers/Install-PowerShellModules.ps1",
"{{ template_dir }}/scripts/Installers/Windows2016/Initialize-VM.ps1"
],
"execution_policy": "unrestricted"
@@ -716,6 +719,9 @@
"type": "powershell",
"inline": [
"pwsh -File '{{user `image_folder`}}\\SoftwareReport\\SoftwareReport.Generator.ps1'"
],
"environment_vars":[
"TOOLSET_JSON_PATH={{user `toolset_json_path`}}"
]
},
{