Archive | Powershell RSS feed for this section

Simple PowerShell Script to Bulk Update or Modify Active Directory User Attributes

I spoke at a conference a couple of months ago about Active Directory management and free tools available to help with AD management. One of the attendees from the presentation recently asked for some guidance using PowerShell to perform a bulk update of AD user information. The simple PowerShell snippet here uses the Get-ADUser cmdlet from [...]

Read full story Comments { 0 }

Presentation Links: Free Active Directory Tools and Tips

WebAD is presenting today at the 17th Annual Technology Planning Conference for Region 10 of the Texas Education Service Center (ESC) in Richardson, Texas. The presentation highlights free tools and technologies that can help K-12 school districts manage their Active Directory environment, especially the automated creation, moving and deletion of student user accounts. Check out [...]

Read full story Comments { 1 }

Disable loading the default drive using Active Directory Powershell module

I’m sure I’ll run in to this one, especially since I use PC’s that aren’t joined to the domain.  I’m going to probably put this in my Powershell profile to avoid waiting for it to load and potential error messages. http://blogs.msdn.com/adpowershell/archive/2010/04/12/disable-loading-the-default-drive-ad-during-import-module.aspx For more information contact us at www.webactivedirectory.com, or call us at (+1) 800-747-3565

Read full story Comments { 0 }

Audit GPO Inheritance with Powershell

I’m working on my next Active Directory Health Check article and I came across this article which applies to one of the areas we review as part of an Active Directory Health Check. Check it out! http://daniellange.wordpress.com/2010/03/08/auditing-gpo-inheritance-with-powershell/ For more information contact us at www.webactivedirectory.com, or call us at (+1) 800-747-3565

Read full story Comments { 0 }

Active Directory Cmdlets in Windows Powershell

I saw someone else post this on twitter and instead of making it a favorite in my browser I thought I would post it here in hopes that someone else would also find it useful. Here is a link to the Powershell cmdlets in Windows 2008 R2 for Active Directory. http://technet.microsoft.com/en-us/library/ee617195.aspx For more information contact [...]

Read full story Comments { 0 }

Active Directory Group Membership audit

Want an easy way to keep an auditor busy for a while?  Check out this script that puts all of the users and groups into excel.  I’m not sure how useful it would be in a medium to large organization but it sure would be fun to print out and hand to an auditor! http://gallery.technet.microsoft.com/ScriptCenter/en-us/d5c6b119-0337-4b5d-93f3-c409c6cf7a45 [...]

Read full story Comments { 0 }

How to Backup and Restore Group Policy

This article includes a command line example of how to backup group policy, now you can schedule it using a powershell cmdlet too… http://www.xenappblog.com/2010/how-to-backup-and-restore-group-policy/

Read full story Comments { 0 }

Yet another way to get Active Directory Password Expiration

I know we’ve posted a few times on this topic but I came across another script that retrieves the Active Directory password expiration.  The main difference is that this script allows you to fileter, sort, export, or group the results of the query. If you are looking for a tool to send email reminders to [...]

Read full story Comments { 0 }

Free powershell cmdlets – Active Directory

PowershellPack is a free download with some additional Powershell cmdlets like TaskScheduler which is just what it sounds like, a cmdlet to list, create, or delete tasks which is extremely useful given all the additional functionality the task scheduler has in Windows 2008 and Windows 7. Here is a list of the other cmdlets and [...]

Read full story Comments { 0 }