VMWare PowerCLI 101 - ShivanandaNayak/Test GitHub Wiki

Import Credentials from XML for vCenter logging

$credential = Import-Clixml -Path "C:\Scripts\Credentials.xml"

Connect-VIServer -Server $vcserver -Credential $credential