Browse Blog Posts by Tags

Showing related tags and posts for the Blogs application. See all tags in the site
  • Codeplex AD Replication Module

    The other codeplex project that caught my eye was a brand new one to create a PowerShell module to manage AD replication.  This one will be very useful and one I will be using a lot. There is still time for suggestions as to content for this project – see http://adreplicationmodule.codeplex.com...
  • Tombstone Periods

    We can get the tombstone period of our Active Directory by 001 002 003 $root   =   [ADSI] ""   $ds   =   [ADSI] ( "LDAP://CN=Directory Service,CN=Windows NT,CN=Services,CN=Configuration,"   +   $root . DistinguishedName ) $ds . tombstoneLifeTime...
    Posted to Richard Siddaway's Blog by RichardSiddaway on Fri, Jul 24 2009
    Filed under: Filed under:
  • AD PowerShell on Windows 2008/2003 - supposedly

    As James pointed out recently the AD Web Service from Windows 2008 R2 has been released for Windows 2008 and Windows 2003 -  see http://blogs.msdn.com/adpowershell/archive/2009/06/23/use-active-directory-powershell-to-manage-windows-2003-2008-dcs.aspx for details. Having installed it there doesn...
    Posted to Richard Siddaway's Blog by RichardSiddaway on Sun, Jun 28 2009
    Filed under: Filed under:
  • AD attributes

    I had a question come through as a private message regarding how to extract a particular attribute for user objects. The script wasn’t working because the label name in AD Users and Computers didn’t match the attribute name. This is a fairly common scenario as there are quite a few attributes like this...
    Posted to Richard Siddaway's Blog by on Thu, Apr 23 2009
    Filed under: Filed under:
  • Forest and domain modes

    We can find the forest and domain modes using the following commands Get-ADDomain -Identity grayson | select DomainMode Get-ADForest grayson | select forestmode The modes can be set from the GUI as normal or Set-ADDomainMode -Identity grayson -DomainMode Windows2008R2Domain Set-ADForestMode -Identity...
    Posted to Richard Siddaway's Blog by on Mon, Apr 20 2009
    Filed under: Filed under:
  • Windows 2008 R2 PowerShell for AD

    Back in this post http://richardsiddaway.spaces.live.com/default.aspx?_c01_BlogPart=blogentry&_c=BlogPart&handle=cns!43CFA46A74CF3E96!2214 we looked at creating OUs using the AD cmdlets in Windows 2008 R2. We may want to look at the OUs we have in our domain Get-ADOrganizationalUnit -Filter ...
    Posted to Richard Siddaway's Blog by on Sun, Apr 19 2009
    Filed under: Filed under:
  • Select-String

    One task I had to do a a few times recently is track down which GPOs had a particular setting enabled. If you are working in an environment with a signifcant number of GPOs this can be a tedious task. The easier way - use the SDMSoftware GPMC cmdlets to create an XML file for each GPO. You can then use...
    Posted to Richard Siddaway's Blog by on Tue, Apr 7 2009
    Filed under: Filed under:
  • Windows 2008 R2 - OU

    One of the big benefits of Windows 2008 R2 is the fact that PowerShell v2 is installed by default and that AD can be administered by PowerShell. There are 76 AD cmdlets and an AD provider. We’ll start by looking at the cmdlets. Organizational Units are the subdivisions with a domain. We can easily create...
    Posted to Richard Siddaway's Blog by on Mon, Apr 6 2009
    Filed under: Filed under:
  • Active Directory Cookbook third edition

    The original AD cookbook by Robbie Allen was published back in 2003. It has been one of my favourite, and most referenced, books. When I used to use VBScript (shudder) it was indispensible and saved me vast amounts of time. One AD implementation I did we created the whole AD structure – OUs, Sites, Subnets...
    Posted to Richard Siddaway's Blog by on Wed, Mar 25 2009
    Filed under: Filed under:
  • Quest AD cmdlets

    If you have followed this blog over any period of time you will know that I am a big fan of the Quest AD cmdlets. The good news is that version 1.2 of the cmlets has gone RTM. The bad news is that it won’t be available for a little while yet. The major details of the changes are available from http:...
    Posted to Richard Siddaway's Blog by on Wed, Mar 25 2009
    Filed under: Filed under:
  • AD PowerShell blog

    The blog of the AD PowerShell Team can be found here - http://blogs.msdn.com/adpowershell/default.aspx If you work with PowerShell & AD will be worth a read Technorati Tags: PowerShell , Windows 2008 R2 , Active Directory
    Posted to Richard Siddaway's Blog by on Tue, Mar 17 2009
    Filed under: Filed under:
  • PowerShell in Practice – Chapter 10

    Chapter 10 is now available as part of the MEAP - http://www.manning.com/siddaway/ This one deals with the structure of Active Directory. After a quick look at the schema there is a good look at working with OUs and GPOs. The chapter closes by showing how to work with the Protection from Accidental Deletion...
    Posted to Richard Siddaway's Blog by on Tue, Mar 3 2009
    Filed under: Filed under:
  • Sites and SiteLinks

    In my series on System.DirectoryServices.ActiveDirectory I was going to cover creating sites and sitelinks – Rolf has just covered this material so I will point you there instead. http://www.powershell-ag.de/ps/Blog/tabid/73/EntryID/1123/Default.aspx Technorati Tags: PowerShell , Active Directory
    Posted to Richard Siddaway's Blog by on Sun, Dec 28 2008
    Filed under: Filed under:
  • S.DS.AD - SiteLinks

    SiteLinks are used to control replication between Active Directory Sites. We have already seen how to find the current site and how to view the domain controllers in that site. How do we know what sites our site is replicating with – follow the sitelinks. $site = [System.DirectoryServices.ActiveDirectory...
    Posted to Richard Siddaway's Blog by on Sun, Dec 21 2008
    Filed under: Filed under:
  • S.DS.AD - sites

    Sites are the foundation of the physical topology of Active Directory. While there has been a lot posted about working with users and groups i.e. the data in Active Directory there hasn’t been as much posted about working with the physical structure. System.DirectoryServices.ActiveDirectory.ActiveDirectorySite...
    Posted to Richard Siddaway's Blog by on Fri, Dec 19 2008
    Filed under: Filed under:
  • S.DS.AD – netlogon service 2

    Last time I said that I wanted to improve the way the data was displayed when we interrogated the netlogon service on our domain controllers. One way we could do it is to use Add-Member to add the data to an object $a = @() $type = [System.DirectoryServices.ActiveDirectory.DirectoryContextType]::Domain...
    Posted to Richard Siddaway's Blog by on Thu, Dec 18 2008
    Filed under: Filed under:
  • S.DS.AD - Replication

    We can us e what we have learnt about domain controllers to enables to have a way to examine the replication between domain controllers. $type = [System.DirectoryServices.ActiveDirectory.DirectoryContextType]::Domain $context = New-Object -TypeName System.DirectoryServices.ActiveDirectory.DirectoryContext...
    Posted to Richard Siddaway's Blog by on Wed, Dec 17 2008
    Filed under: Filed under:
  • S.DS.AD – Domain Controllers

    We saw one method of accessing domain controllers when we were looking at the domain class - http://richardsiddaway.spaces.live.com/blog/cns!43CFA46A74CF3E96!1932.entry If we want to work directly with a domain controller we can create an object for the domain controller like this $type = [System.DirectoryServices...
    Posted to Richard Siddaway's Blog by on Tue, Dec 16 2008
    Filed under: Filed under:
  • S.DS.AD - Domain

    We looked at AD Forests last time – moving along we come to domains. We can discover the current domain in a similar manner to the forest $dom = [System.DirectoryServices.ActiveDirectory.Domain]::GetCurrentDomain() $dom The standard output includes Forest : Manticore.org DomainControllers : {CSDC1.Manticore...
    Posted to Richard Siddaway's Blog by on Sun, Dec 14 2008
    Filed under: Filed under:
  • S.DS.AD - Forest

    System.DirectoryServices.ActiveDirectory – its a bit of a mouthful so I’m going to abbreviate it to S.SD.AD – is a .NET namespace that works with Active Directory. Unlike System.DirectoryServices it is not an ADSI wrapper but works through non-LDAP protocols to access AD. It is designed for administering...
    Posted to Richard Siddaway's Blog by on Fri, Dec 12 2008
    Filed under: Filed under:
Page 1 of 2 (28 items) 1 2 Next >