Answer the question
In order to leave comments, you need to log in
Variable as powershell parameter?
There is a VS.ps1 script
Connect-VIServer -Server $ip -User $user -Password $passwd
Answer the question
In order to leave comments, you need to log in
see Passing parameters in PowerShell
like this:
Param (
[string]$ip,
[string]$user,
[string]$passwd,
)
Connect-VIServer -Server $ip -User $user -Password $passwd
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question