• This topic has 0 replies, 1 voice, and was last updated March 5, 2020 by Gert M.

connect-zertozvm

  • 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!

You must be logged in to create new topics. Click here to login