28 November 2013

Insufficient access rights when modifying useraccountcontrol attribute

Set-ADAccountControl : Insufficient access rights to perform the operation

this error appear only when the command is run on a domain controller;

to pas by you need to add "-Server" parameter and indicate an alternate domain controller.

Set-ADAccountControl $_ -PasswordNotRequired $false -Server dcname

27 November 2013

Get curent logonserver

[System.Environment]::GetEnvironmentVariable("logonserver")

15 November 2013

Find vmware ESX version and build number

find vmware ESX version and buld number from vSphere clinet: select the host and go to the summary tab.



07 November 2013