Showing results for November 2014 - Page 2 of 13 - Scripting Blog [archived]

Nov 27, 2014
0
0

PowerTip: Use PowerShell to Work with Active Directory Date Fields

Doctor Scripto
Doctor Scripto

Summary: Use Windows PowerShell to work with Active Directory date fields.  How can I Use Windows PowerShell to work with date fields in Active Directory?  Try the following techniques: # Password last set within the last 30 days? $pwdLastSet = Get-ADUser Administrator -Properties pwdLastSet |      Select-Object -...

Scripting Guy!Windows PowerShellPowerTip
Nov 27, 2014
0
0

Active Directory Week: Stale Object Cleanup Guidance—Part 2

Doctor Scripto
Doctor Scripto

Summary: Scripting tips for cleaning up stale Active Directory accounts. Microsoft Scripting Guy, Ed Wilson, is here. Today we continue our series about Active Directory PowerShell by Ashley McGlone. Before you begin, you might enjoy reading these posts from the series: See yesterday’s post for a discussion and guidance about stale-object cl...

Scripting Guy!Windows PowerShellguest blogger
Nov 26, 2014
0
0

PowerTip: Use PowerShell to Get Inactive Active Directory Accounts

Doctor Scripto
Doctor Scripto

Summary: Use Windows PowerShell to get a report of inactive Active Directory accounts.How can I use Windows PowerShell to get a report of inactive Active Directory accounts?The Search-ADAccount cmdlet has a number of parameters and switches to help identify stale accounts: You can also use the -UsersOnly or -...

Scripting Guy!Windows PowerShellguest blogger
Nov 26, 2014
1
0

Active Directory Week: Stale Object Cleanup Guidance—Part 1

Doctor Scripto
Doctor Scripto

Summary: Learn about how to clean up stale Active Directory accounts. Microsoft Scripting Guy, Ed Wilson, is here. Today we continue our series about Active Directory PowerShell by Ashley McGlone. Before you begin, you might enjoy reading his first two posts: Here's Ashley... In the United States, this week we celebrate Thanksgiving. I&rsq...

Scripting Guy!Windows PowerShellguest blogger
Nov 25, 2014
0
0

PowerTip: Use PowerShell to Find if User Is Nested Group Member

Doctor Scripto
Doctor Scripto

Summary: Use Windows PowerShell to find if a user is a nested member of a particular group.  How can I use Windows PowerShell to quickly find if a user is a nested member of a particular group,            for example, Domain Admins?  Use the -RecursiveMatch LDAP filter operator: Get-ADUser -Filter '...

Scripting Guy!Windows PowerShellguest blogger