set parameters explicitly (#2221)

This commit is contained in:
Mikhail Timofeev
2020-12-09 10:11:53 +03:00
committed by GitHub
parent bcfa5eb226
commit b392aa60bd
4 changed files with 15 additions and 3 deletions

View File

@@ -46,7 +46,7 @@ param(
Import-Module $PSScriptRoot\helpers.psm1 -DisableNameChecking
# Connection to a vCenter Server system
Connect-VCServer
Connect-VCServer -VIServer $VIServer -VIUserName $VIUserName -VIPassword $VIPassword
# Clear previously assigned tag with VM Name
try {