Sign in
|
Help
Richard Siddaway's Blog
Of PowerShell and Other Things
This Blog
Home
Contact
Syndication
RSS for Posts
Atom
RSS for Comments
Search
Go
Tags
Active Directory
File Attributes
General
General IT matters
Hidden Files
IT Community
Microsoft
Modules
None
Office 2010
PowerGUI
Powershell
PowerShell and Active Directory
PowerShell and Exchange 2007
PowerShell and SQL Server
PowerShell and WMI
PowerShell User Group
PowerShell V2
Rant
SQL Server
Technology
User Group
v2
Windows 7
Windows Server 2008
Community
Home
Blogs
Media
Groups
Email Notifications
Go
Archives
November 2009 (26)
October 2009 (2)
September 2009 (8)
August 2009 (22)
July 2009 (21)
June 2009 (26)
May 2009 (31)
April 2009 (22)
March 2009 (38)
February 2009 (39)
January 2009 (34)
December 2008 (29)
November 2008 (37)
October 2008 (39)
September 2008 (51)
August 2008 (38)
July 2008 (25)
March 2008 (1)
November 2007 (2)
May 2007 (1)
December 2006 (1)
Browse by Tags
All Tags
»
PowerShell and Active Directory
(
RSS
)
Active Directory
Modules
PowerShell V2
Windows Server 2008
Fri, Sep 4 2009 9:25
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...
Posted by
RichardSiddaway
| with
no comments
Filed under:
PowerShell and Active Directory
,
Active Directory
,
Windows Server 2008
,
PowerShell V2
,
Modules
Fri, Jul 24 2009 20:58
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...
Posted by
RichardSiddaway
| with
no comments
Filed under:
PowerShell and Active Directory
Sun, Jun 28 2009 20:39
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...
Posted by
RichardSiddaway
| with
no comments
Filed under:
PowerShell and Active Directory
Thu, Apr 23 2009 2:25
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...
Posted by
Richard Siddaway's Blog
Filed under:
PowerShell and Active Directory
Mon, Apr 20 2009 13:37
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...
Posted by
Richard Siddaway's Blog
Filed under:
PowerShell and Active Directory
Sun, Apr 19 2009 10:23
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...
Posted by
Richard Siddaway's Blog
Filed under:
PowerShell and Active Directory
Tue, Apr 7 2009 14:48
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...
Posted by
Richard Siddaway's Blog
Filed under:
PowerShell and Active Directory
Mon, Apr 6 2009 7:03
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...
Posted by
Richard Siddaway's Blog
Filed under:
PowerShell and Active Directory
Wed, Mar 25 2009 18:29
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...
Posted by
Richard Siddaway's Blog
Filed under:
PowerShell and Active Directory
Wed, Mar 25 2009 3:47
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...
Posted by
Richard Siddaway's Blog
Filed under:
PowerShell and Active Directory
Tue, Mar 17 2009 14:35
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 by
Richard Siddaway's Blog
Filed under:
PowerShell and Active Directory
Tue, Mar 3 2009 12:45
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...
Posted by
Richard Siddaway's Blog
Filed under:
PowerShell and Active Directory
Sun, Dec 28 2008 8:36
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...
Posted by
Richard Siddaway's Blog
Filed under:
PowerShell and Active Directory
Sun, Dec 21 2008 11:26
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...
Posted by
Richard Siddaway's Blog
Filed under:
PowerShell and Active Directory
Fri, Dec 19 2008 4:27
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....
Posted by
Richard Siddaway's Blog
Filed under:
PowerShell and Active Directory
Thu, Dec 18 2008 8:02
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...
Posted by
Richard Siddaway's Blog
Filed under:
PowerShell and Active Directory
Wed, Dec 17 2008 8:03
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...
Posted by
Richard Siddaway's Blog
Filed under:
PowerShell and Active Directory
Tue, Dec 16 2008 1:38
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...
Posted by
Richard Siddaway's Blog
Filed under:
PowerShell and Active Directory
Sun, Dec 14 2008 11:51
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...
Posted by
Richard Siddaway's Blog
Filed under:
PowerShell and Active Directory
Fri, Dec 12 2008 14:07
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...
Posted by
Richard Siddaway's Blog
Filed under:
PowerShell and Active Directory
More Posts
Next page »