Showing archive results for 2014

Nov 28, 2014
Post comments count0
Post likes count0

PowerTip: Use PowerShell to Get List of FSMO Role Holders

Doctor Scripto

Summary: Use Windows PowerShell to get a list of FSMO role holders in Active Directory.  I use NETDOM QUERY FSMO to list my domain controllers that hold the FSMO roles, but can I do it with Windows PowerShell?  As usual, there is more than one way to do most things in Windows PowerShell, but here are some syntax examples to meet your need...

Scripting Guy!Windows PowerShellguest blogger
Nov 28, 2014
Post comments count0
Post likes count0

Active Directory Week: Essential Steps for PowerShell when Upgrading

Doctor Scripto

Summary: Learn three essential steps for Windows PowerShell when upgrading from Windows Server 2003. Microsoft Scripting Guy, Ed Wilson, is here. Today we have the final post in the series about Active Directory PowerShell by Ashley McGlone. Before you begin, you might enjoy reading these posts from the series: Over the years Microsoft has...

Scripting Guy!Windows PowerShellguest blogger
Nov 27, 2014
Post comments count0
Post likes count0

PowerTip: Use PowerShell to Work with Active Directory Date Fields

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
Post comments count0
Post likes count0

Active Directory Week: Stale Object Cleanup Guidance—Part 2

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
Post comments count0
Post likes count0

PowerTip: Use PowerShell to Get Inactive Active Directory Accounts

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