Newbee talking.
When I connect to our vSphere server via Powershell I use an interactive script:
$VmWare_user = Get-Content “\\Servername\Share\vSphere_user.txt” $VmWare_pwd = Get-Content “\\Servername\Share\vSphere_pw.txt” $VmWare_srv = Get-Content “\\Servername\Share\vSphere_srv.txt” Connect-VIServer $VmWare_srv -User $VmWare_user -Password $VmWare_pwd
I want to do the same for connecting interactive to Zerto but the paramete -password does not exist.
I don’t want a credential pop-up.
$Zerto_user = Get-Content “\\Servername\Share\Zerto_user.txt” $Zerto_pwd = Get-Content “\\Servername\Share\Zerto_pw.txt” $Zerto_srv = Get-Content \\Servername\Share\Zerto_srv.txt” connect-zertozvm $Zerto_srv -ZertoUser $Zerto_user
Any idea? Thanks!
The forum ‘Scripting and APIs’ is closed to new topics and replies.