Sign In
TechNet Blogs
Technet Blog Images
More ...
Tweet tweet!
Translate this page
Powered by
Microsoft® Translator
Related Links
Blog Home
Script Center Home
Scripting Library
Learn to Script
Script Repository
Scripting Forum
2011 Scripting Games
Common Tasks
Blog Home
RSS for comments
RSS for posts
Atom
OK
Email Blog Author
Search
Advanced search options...
Search In:
Everything
Blogs
Forums
People
Groups
Places
Pages
Date range:
All Time
Last Year
Last 6 Months
Last 3 Months
Last Month
Last Week
Last Two Days
Tags
ActiveX Data Objects (ADO)
ADSI
basic hardware and firmware
computer accounts
CSV and other delimited files
domains
error handling
events and monitoring
Excel spreadsheet
getting started
groups
guest blogger
hardware
messaging and communication
Microsoft Excel
Nicolas Blank
Office
OUs
peripherals and devices
Quick-Hits Friday
Scripting Guy!
scripting techniques
sending email
troubleshooting
user accounts
users
VBScript
Windows PowerShell
WMI
Archives
Archives
May 2012
(29)
April 2012
(97)
March 2012
(44)
February 2012
(31)
January 2012
(31)
December 2011
(31)
November 2011
(30)
October 2011
(31)
September 2011
(30)
August 2011
(31)
July 2011
(31)
June 2011
(30)
May 2011
(31)
April 2011
(97)
March 2011
(41)
February 2011
(28)
January 2011
(31)
December 2010
(31)
November 2010
(30)
October 2010
(31)
September 2010
(30)
August 2010
(33)
July 2010
(31)
June 2010
(30)
May 2010
(67)
April 2010
(65)
March 2010
(34)
February 2010
(29)
January 2010
(23)
December 2009
(23)
November 2009
(22)
October 2009
(23)
September 2009
(22)
August 2009
(25)
July 2009
(24)
June 2009
(38)
May 2009
(22)
April 2009
(22)
March 2009
(22)
February 2009
(20)
January 2009
(22)
December 2008
(8)
November 2008
(17)
October 2008
(9)
September 2008
(8)
August 2008
(6)
July 2008
(5)
June 2008
(21)
May 2008
(21)
April 2008
(22)
March 2008
(21)
February 2008
(21)
January 2008
(22)
December 2007
(10)
November 2007
(20)
October 2007
(23)
September 2007
(19)
August 2007
(23)
July 2007
(21)
June 2007
(21)
May 2007
(22)
April 2007
(21)
March 2007
(22)
February 2007
(21)
January 2007
(21)
December 2006
(11)
November 2006
(20)
October 2006
(22)
September 2006
(20)
August 2006
(23)
July 2006
(20)
June 2006
(22)
May 2006
(22)
April 2006
(20)
March 2006
(23)
February 2006
(20)
January 2006
(21)
December 2005
(16)
November 2005
(20)
October 2005
(21)
September 2005
(21)
August 2005
(23)
July 2005
(20)
June 2005
(22)
May 2005
(21)
April 2005
(21)
March 2005
(22)
February 2005
(20)
January 2005
(21)
December 2004
(16)
November 2004
(20)
October 2004
(21)
September 2004
(21)
August 2004
(22)
Browse by Tags
TechNet Blogs
>
Hey, Scripting Guy! Blog
>
All Tags
>
active directory
>
searching active directory
Browse by Tags
ActiveX Data Objects (ADO)
ADSI
basic hardware and firmware
computer accounts
CSV and other delimited files
domains
error handling
events and monitoring
Excel spreadsheet
getting started
groups
guest blogger
hardware
messaging and communication
Microsoft Excel
Nicolas Blank
Office
OUs
peripherals and devices
Quick-Hits Friday
Scripting Guy!
scripting techniques
sending email
troubleshooting
user accounts
users
VBScript
Windows PowerShell
WMI
Blog Post:
Search AD for Missing Email Addresses Using PowerShell
The Scripting Guys
Summary: Learn how to use Windows PowerShell and the Active Directory cmdlets to find and replace missing email addresses. Hey, Scripting Guy! I am hoping you can help me. We recently decommissioned a domain and moved all the users from that domain into an organizational unit (OU) under our corporate...
on
6 Oct 2011
Blog Post:
Search Active Directory for User and Office Locations
The Scripting Guys
Summary: Search Active Directory for user and office locations by using Windows PowerShell and no scripting. Hey, Scripting Guy! I am looking for an easy way to search Active Directory. For example, I need to find information out about users. We are moving offices in our city, and I need to find...
on
5 Oct 2011
Blog Post:
Use PowerShell to Clean Up Active Directory After a Stalled Migration
The Scripting Guys
Summary : Use Windows PowerShell to clean up extended user attributes following a stalled Active Directory migration. Microsoft Scripting Guy Ed Wilson here. Today I am proud to announce the return of Microsoft MVP Nicolas Blank to the Hey, Scripting Guy! Blog. Nicolas has more than 14 years’...
on
1 Oct 2011
Blog Post:
Query Active Directory Without Writing a Script
ScriptingGuy1
Summary: Learn how to use Windows PowerShell to query Microsoft Active Directory without having to write a script. Hey, Scripting Guy! I would like to use cmdlets to work with Active Directory. Are there any Windows PowerShell cmdlets in Windows Server 2008 R2 that can be used? -- BW Hello...
on
2 Dec 2010
Blog Post:
Use PowerShell to Query Active Directory from the Console
ScriptingGuy1
Summary: Learn how to query Active Directory by using Windows PowerShell without writing a script. Hey, Scripting Guy! Occasionally I have to perform a quick query of Active Directory, but I do not want to write a complicated VBScript or Windows PowerShell script. Is there a way to use Windows...
on
1 Dec 2010
Blog Post:
Error Handling and Exporting Active Directory Users to CSV
ScriptingGuy1
Summary: Learn how to handle errors in Windows PowerShell and how to export user information from Microsoft Active Directory to a CSV file. In this post: Exporting Active Directory Users to CSV Adding Comments to a Script File Error Handling in Windows PowerShell Exporting...
on
12 Nov 2010
Blog Post:
Use PowerShell and Active Directory Cmdlets to Update Users in Active Directory
ScriptingGuy1
Summary : Learn how to use Windows PowerShell and the Active Directory cmdlets to update user objects in Active Directory. Hey, Scripting Guy! Watching you write a custom function to search Active Directory is about as much fun as watching paint dry. One reason we upgraded to Windows Server 2008...
on
14 Oct 2010
Blog Post:
Use PowerShell to Search Active Directory Users’ Missing Values and Add Same
ScriptingGuy1
Summary : Learn how to use Windows PowerShell to search Microsoft Active Directory for users that have missing values, and automatically add default values. Hey, Scripting Guy! We have several network administrators where I work. Unfortunately, all of them have complete rights to Active Directory...
on
13 Oct 2010
Blog Post:
Quick-Hits Friday: The Scripting Guys Respond to a Bunch of Questions (9/24/10)
ScriptingGuy1
In this post : Shuffling Values Around in an Active Directory Organizational Unit How Can I Be Notified by Email of Specific Words Being Found in the Event Log? Shuffling Values Around in an Active Directory Organizational Unit Hey, Scripting Guy! I need to shuffle values...
on
24 Sep 2010
Blog Post:
Query Active Directory with PowerShell and Run WMI Commands
ScriptingGuy1
Summary : Use Windows PowerShell to Query Active Directory for computers and then run WMI commands on the remote machines. The Scripting Guys show you how. Hey, Scripting Guy! We have a major problem at my company. We have a standard corporate desktop we are deploying by using the Windows Deployment...
on
26 Aug 2010
Blog Post:
Query Active Directory and Ping Each Computer in the Domain by Using PowerShell
ScriptingGuy1
Summary : Query Active Directory and ping each computer in the domain by using Windows PowerShell. The Scripting Guys show you how. Hey, Scripting Guy! I am THE IT person at my company. I am also a chemical engineer who has daily production responsibilities in our process plant. You see, I am...
on
25 Aug 2010
Blog Post:
Use the PowerShell [adsiSearcher] Type Accelerator to Search Active Directory
ScriptingGuy1
Summary : Learn how to use the Windows PowerShell [adsiSearcher] type accelerator to search Active Directory Domain Services (AD DS). Hey, Scripting Guy! I am trying to get in touch with my inner programmer. The problem is that our company has cut head count in the past two years, and the remaining...
on
24 Aug 2010
Blog Post:
Use the DirectorySearcher .NET Class and PowerShell to Search Active Directory
ScriptingGuy1
Summary : Learn how to search Active Directory Domain Services from Windows PowerShell by using the DirectorySearcher .NET class. Hey Scripting Guy! I am curious about searching Active Directory Domain Services (AD DS) from Windows PowerShell. I have seen lots of things on the Internet, but...
on
23 Aug 2010
Blog Post:
Use PowerShell to Add Domain Users to a Local Group
ScriptingGuy1
Summary : By using Windows PowerShell splatting, domain users can be added to a local group. This script includes a function to convert a CSV file to a hash table. Hey, Scripting Guy! I need to be able to use Windows PowerShell to add domain users to local user groups. I have been able to find...
on
19 Aug 2010
Blog Post:
Sort an Active Directory User Group’s Members by Using PowerShell
ScriptingGuy1
Summary : Sorting lists of data in VBScript often involved writing complex code. The Sort cmdlet in Windows PowerShell makes that task easier. Hey, Scripting Guy! I need to be able to use Windows PowerShell to list the members of a group in Active Directory Domain Services (AD DS) in alphabetical...
on
18 Aug 2010
Blog Post:
How to Change a User's Active Directory Password with PowerShell
ScriptingGuy1
Summary : The Scripting Guys discuss using Windows PowerShell to change a user's Active Directory password in this how-to article. Hey, Scripting Guy! I need to be able to change a user’s password by using Windows PowerShell. In the VBScript days, I had a script that I had essentially copied...
on
17 Aug 2010
Blog Post:
Using PowerShell to Find All Disabled Users in Active Directory
ScriptingGuy1
Summary : The Scripting Guys discuss three different approaches to finding disabled user accounts in Active Directory Domain Services by using Windows PowerShell. Hey, Scripting Guy! I would like to use Windows PowerShell to search Active Directory Domain Services (AD DS) for user accounts that...
on
16 Aug 2010
Blog Post:
Hey, Scripting Guy! How Can I Use Windows PowerShell 2.0 to Retrieve Information About Domain Controllers?
ScriptingGuy1
Hey, Scripting Guy! I need to use Windows PowerShell 2.0 to search Active Directory Domain Services (AD DS) to retrieve information about my Windows Server 2008 and Windows Server 2008 R2 domain controllers. I am specifically interested in determining the holders of the special FSMO roles in AD DS. Is...
on
19 Jul 2010
Blog Post:
Hey, Scripting Guy! How Do I Search Active Directory?
ScriptingGuy1
Hey, Scripting Guy! Why does today's article title sound so familiar? I do want to know how to search Active Directory, but I'm experiencing some deja vu here. - RR Hi RR, Scripting Guy Craig Liebendorfer here. The rough part about getting older is that part about getting older. Ed Wilson and...
on
3 Feb 2010
Blog Post:
Hey, Scripting Guy! Can I Query Active Directory for Users Whose Passwords Don't Expire?
ScriptingGuy1
Hey, Scripting Guy! I am interested in using Windows PowerShell to query Active Directory. We have deployed Windows Server 2008 R2 on our domain, and upgraded one of our domain controllers. I would like to be able to query for a list of all users whose passwords do not expire. When I did a Bing search...
on
2 Feb 2010
Blog Post:
Hey, Scripting Guy! How Can I Use Windows PowerShell to Search Active Directory?
ScriptingGuy1
Hey, Scripting Guy! I often need to search Active Directory Domain Services (AD DS) to find information about various computers. I may need to identify all of the computers in a particular organizational unit or all the computers who happen to reside in a particular office. Whatever the reason, using...
on
1 Feb 2010
Blog Post:
Hey, Scripting Guy! Quick-Hits Friday: The Scripting Guys Respond to a Bunch of Questions (11/6/09)
ScriptingGuy1
In this post : Using the Active Directory DirectoryEntry Class How Can I Run a Script Whenever a New USB Drive Is Attached to a Computer? Making a Specific Windows PowerShell 2.0 Script Work with Windows PowerShell 1.0 Can I Use VBScript to Distinguish Between Versions of Windows Server...
on
6 Nov 2009
Blog Post:
Hey, Scripting Guy! How Can I Generate a List of All Groups of Which a User Is a Member?
ScriptingGuy1
Hey, Scripting Guy! I need to get a list of all the groups of which a user is a member. I do not mean the groups of which the user is a direct member, but I need to know all of the groups. You know that groups can be members of other groups, and other groups can be member of still further groups. There...
on
8 Oct 2009
Blog Post:
Hey, Scripting Guy! Can I Get a List of All Users in a Domain Without Their Manager Attribute Populated?
ScriptingGuy1
Hey, Scripting Guy! I need to get a list of all the users that have set their manager in Active Directory. We have this Web application that allows users to populate information such as their phone number, their office location, and their manager. We actually paid a decent amount of money for this application...
on
7 Oct 2009
Blog Post:
Hey, Scripting Guy! How Can I Get a List of Domain Controllers in My Domain? (Part 2)
ScriptingGuy1
Hey, Scripting Guy! I need to obtain a listing of the domain controllers in my domain. I am thinking about using Windows PowerShell to query the Domain Controllers Organizational Unit, but I am not sure this is the right approach. Will this work? If it does work, will you write a Windows PowerShell script...
on
6 Oct 2009
Page 1 of 3 (62 items)
1
2
3