I did not discover this fix. I found this from TechNet forums but have since lost the link.
The fix below helped me resolve this problem.
The Active Directory integrated DNS zone _msdcs.domain.com was not found.
- Create a zone called "_msdcs.domain.com"
- Make it AD integrated
- Allow secure only updates and Click Finish
- Go back into the zone properties
- Change the replication scope to "All DCs in the Forest"
- Delete the _msdcs folder under domain.com
- Run an ipconfig /registerdns
- stop netlogon
- start netlogon
- The SRVs should populate shortly, if they already haven’t
Credit goes to users on TechNet Forums.
Below is an updated script that helps you find any user in AD with details like when the User object was created, modified, lockout time, bad password time, last logon etc.
$user = Read-Host "Enter the name of the user"
Get-ADUser -Filter "sAMAccountName -like ‘*$user*’" |
Get-ADObject -Properties * | fl Name,SamAccountName,UserPrincipalName,DistinguishedName,objectSID,Title,Department,telephoneNumber,` Created,Modified,lockoutTime,`
ESXi 5.x and 6.0
List the inventory ID of the virtual machine with the command:
vim-cmd vmsvc/getallvms | grep <vm name>
Note: The first column of the output shows the vmid.
Check the power state of the virtual machine with the command:
vim-cmd vmsvc/power.getstate <vmid>
Power-on the virtual machine with the command:
vim-cmd vmsvc/power.on <vmid>
ESX 4.0 and ESX 4.1
To list the path of all the virtual machines on the host:
Get the state of the virtual machine with the command:
vmware-cmd <path to the VMX file> getstate
Power on the virtual machine with the command:
vmware-cmd <path to the VMX file> start