First sorry if that question has already been raised & answered. But haven't been able to find any valid answer to my question...
With the Set-VMHostAuthentication I would like to be able to specify the Domain Controller to target during the JoinDomain.
I'm looking for something like the win32 "NetJoinDomain" API allows to specify as part of the Domain parameter.
We have a large number of DCs, and replication take a while between each of them (ie the DC where is executed the script is "far away" from the DC used by the ESX to join the domain)
So we need to be able to control the DC used during the initial JoinDomain.
PS:Using vSphere 5.1
Thks a lot
But how do you update krb5-affinity.conf with a powershell script (ie haven't found how to access to esx filesystem- Only been able to assess to datastores file system by script?
I would do this with plink.exe from the PuTTY suite.
You can set up an SSH session to the ESXi host, and then for example use sed to edit the config file.