$ErrorActionPreference='Stop' for AllUsersAllHosts

This commit is contained in:
Aleksandr Chebotov
2020-10-02 10:59:05 +03:00
parent 42d210e4e7
commit 0cd68997b6
14 changed files with 5 additions and 26 deletions

View File

@@ -3,8 +3,6 @@
## Desc: Install Azure PowerShell modules
################################################################################
$ErrorActionPreference = "Stop"
# The correct Modules need to be saved in C:\Modules
$installPSModulePath = $env:PSMODULES_ROOT_FOLDER
if (-not (Test-Path -LiteralPath $installPSModulePath))