September 17, 2012 2:24 PM
Posted by: Richard Siddaway
Active Directory,
PowerShellWant to change an attribute on all members of an Active Directory group. Then try this
Get-ADGroupMember -Identity Legal | ...
June 2, 2012 6:34 AM
Posted by: Richard Siddaway
Active Directory,
PowerShell 3,
Windows 2008 R2,
Windows Server 8A question came up on Tuesdays UK PowerShell Group session about using the Windows 2012 Active Directory module. The recording links are here
March 30, 2012 8:49 AM
Posted by: Richard Siddaway
Active Directory,
Books,
Hyper-V,
Network,
Operating System,
PowerShell,
Processor,
Registry,
WMIManning have PowerShell in Practice on a half price offer today. Go to www.manning.com and use code dotd0330cc when ordering
March 18, 2012 2:30 PM
Posted by: Richard Siddaway
Active Directory,
DNS,
PowerShell,
WMIOne option for finding global catalog servers is often overlooked – DNS. In an AD environment DNS stores the SRV records that advertise the services domain controllers can deliver
$dnsserver =
March 15, 2012 4:25 PM
Posted by: Richard Siddaway
Active Directory,
PowerShell,
WMII stumbled on this namespace on my domain controller - root\directory\ldap – which appears to be a WMI provider for AD. From the information at
February 18, 2012 4:58 AM
Posted by: Richard Siddaway
Active Directory,
PowerShellI have been using LDAP filters a lot recently. One thing that can cause subtle errors that are difficult to track down are LDAP filters.
As an example consider this code which discovers all objects with the creatorSID attribute set and then resolves that SID to discover the user who...
February 12, 2012 4:31 AM
Posted by: Richard Siddaway
Active Directory,
PowerShell,
WMIA bit more digging as a follow up to the previous post shows that the NTDS service is shown when PowerShell is run with elevated privileges i.e. Run as Administrator. That means we want to be able to test is PowerShell is running in that mode
The test-dcservicehealth function becomes
...
February 11, 2012 2:36 PM
Posted by: Richard Siddaway
Active Directory,
PowerShell v2,
WMIThe correct functioning of our AD domains depends on the services that are running on our domain controllers
A quick test for the services that could affect AD
function test-dcServiceHealth
February 11, 2012 5:09 AM
Posted by: Richard Siddaway
Active Directory,
PowerShellIt was pointed out in a comment that in my series of posts on administering Active Directory (started with