Showing archive results for 2009

Oct 8, 2009
Post comments count0
Post likes count0

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 is no way using the GUI to identify all ...

Scripting Guy!Windows PowerShellActive Directory
Oct 7, 2009
Post comments count0
Post likes count0

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. The problem is that the users ar...

Scripting Guy!Windows PowerShellActive Directory
Oct 6, 2009
Post comments count0
Post likes count0

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 to query the computers in the Domain ...

Scripting Guy!Windows PowerShellActive Directory
Oct 5, 2009
Post comments count0
Post likes count0

Hey, Scripting Guy! How Can I Get a List of Domain Controllers in My Domain? (Part 1)

ScriptingGuy1

Hey, Scripting Guy! I hope you do not think I am clueless, but I need to obtain a list of all the domain controllers in my domain. Can you help me out by writing a Windows PowerShell script to list all of the domain controllers in my domain? < p style="MARGIN: 0in 0in 8pt" class="MsoNormal">-- KH Hello KH, Microsoft Scripting Guy...

Scripting Guy!Windows PowerShellActive Directory
Oct 1, 2009
Post comments count0
Post likes count0

Hey, Scripting Guy! How Can I Use Windows PowerShell to Stop Services?

ScriptingGuy1

(Portions of this blog post previously appeared in the Microsoft Press book, Windows PowerShell Scripting Guide.) Hey, Scripting Guy! I have some services that are running on my computer. I looked them up on TechNet and I do not believe I need them to be running. Is there a way I can write a Windows PowerShell script to stop the services? If I...

Scripting Guy!Windows PowerShelloperating system