Showing results for user accounts - Scripting Blog [archived]

Oct 11, 2010
Post comments count0
Post likes count0

Use WMI and PowerShell to Get a User’s SID

ScriptingGuy1
ScriptingGuy1

Summary: Microsoft Scripting Guy Ed Wilson shows how to use Windows PowerShell and WMI to translate a SID to a user name, or a user name to a SID.   Hey, Scripting Guy! I do a lot of work with Active Directory Domain Services (AD DS), and quite often I need to find the security identifier (SID) of a user. I know that I can find the SID...

Scripting Guy!Windows PowerShellActive Directory
Aug 19, 2010
Post comments count3
Post likes count0

Use PowerShell to Add Domain Users to a Local Group

ScriptingGuy1
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 VBScript examples, but no Windows PowerShe...

Scripting Guy!Windows PowerShellActive Directory
Aug 18, 2010
Post comments count0
Post likes count0

Sort an Active Directory User Group’s Members by Using PowerShell

ScriptingGuy1
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 order. The reason for this is I would like ...

Scripting Guy!Windows PowerShellActive Directory
Aug 17, 2010
Post comments count0
Post likes count0

How to Change a User's Active Directory Password with PowerShell

ScriptingGuy1
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 from the How Can I Change a User’s Pass...

Scripting Guy!Windows PowerShellActive Directory
Aug 16, 2010
Post comments count0
Post likes count0

Using PowerShell to Find All Disabled Users in Active Directory

ScriptingGuy1
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 are disabled. I had a VBScript script I h...

Scripting Guy!Windows PowerShellActive Directory