Tag Archives: active directory

PowerShell LDAP response time monitor

I recently had some issues with a system not getting very response times to LDAP queries sent to various Active Directory domain controllers. These were resolved via a combination of Windows Server 2003 Server Performance Advisor and the built in, … Continue reading

Rate this:

Posted in Performance, PowerShell, Windows | Tagged , , , , , , , , , , , , , | 3 Comments

PowerShell: Kerberos Constrained Delegation for Hyper-V Live Migration

If you want to use Move-VM to live migrate a Hyper-V VM from one host to another then you need to allow the source host to access the destination host to push the VM at it. The preferred way of … Continue reading

Rate this:

Posted in Hyper-V, PowerShell | Tagged , , , , , , , , | 3 Comments

Powershell: Remove computer from Active Directory

This is in theory easy, just import the ActiveDirectory module: Import-Module ActiveDirectory and then remove the computer: Remove-ADComputer -Identity “computername” Except that sometimes it fails with: Remove-ADComputer : The directory service can perform the requested operation only on a leaf … Continue reading

Rate this:

Posted in PowerShell, Scripting, Windows | Tagged , , , , , , , , | 7 Comments

Active Directory authentication for ESXi host management

This was not as straightforward as I’d hoped. Apparently¬†(see video – ugh, why not bullet points?), you just add the host to AD, create an Active Directory security group called ESX Admins, stick the users in the group and voila, … Continue reading

Rate this:

Posted in vSphere | Tagged , , , , , , , , , , | 2 Comments

Pharos Uniprint 8.2 ADLDAP authentication failure

On a fairly recently installed test system of Pharos Uniprint 8.2 running on WIndows Server 2008 R2 (i.e. 64-bit OS)¬†I configured the Pharos Remote bank to use the ADLDAPLogon.exe plugin. This allows you to authenticate users against your Active Directory … Continue reading

Rate this:

Posted in Applications, Scripting | Tagged , , , , , , , , , | 1 Comment

Find print servers in Active Directory from the command line

Run the following on a machine that has the AD DS Snap-ins and Command-Line tools installed (or appropriate on older OS, e.g. AdminPak on Windows XP): for /f “delims=, tokens=2” %i in (‘dsquery * dc^=your^,dc^=active^,dc^=directory -filter “(objectCategory=printQueue)” -limit 0’) do … Continue reading

Rate this:

Posted in Scripting | Tagged , , , , , | Leave a comment