Solved

Powershell cmdlets and scripts for AD in 2012 R2

Posted on 2016-09-08
4
62 Views
Last Modified: 2016-09-08
Team,

Can someone please provide me with a nice file, repository, blog with all cmdlets for managing Active directory by category? i.e. I would like to obtain something like

To manager users: use these cmdlets

To manage groups: use these cmdlets

To manage server objects

Thanks in advance

Jerry
0
Comment
Question by:Jerry Seinfield
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
4 Comments
 
LVL 40

Expert Comment

by:footech
ID: 41790225
You can easily browse through the list of AD cmdlets.
Here's a simple way to try finding what you need.
Get-Command *user* -Module activedirectory
Get-Command *group* -Module activedirectory

Open in new window


Not sure what you mean exactly by "server objects".  Servers are just computers, so you might try something like:
Get-Command *computer* -Module activedirectory

Open in new window

0
 

Author Comment

by:Jerry Seinfield
ID: 41790279
thank you,

Any blog, or link that is currently being used as repository of power shell cmdlet for AD? Looking for examples, cmdlets, code, and so on
0
 
LVL 40

Expert Comment

by:footech
ID: 41790298
I don't have any links to blogs, but the "Hey, Scripting Guy!" blogs are usually good.
For most questions regarding the AD cmdlets, I refer to their help.  You can read the online version (webpage), or just run the Get-Help command.  It includes descriptions of the parameters, has examples, etc.
0
 
LVL 41

Accepted Solution

by:
Adam Brown earned 500 total points
ID: 41790388
TechNet has all of the scripts you can use. https://technet.microsoft.com/en-us/library/hh852274(v=wps.630).aspx has a list with descriptions of general Cmdlet purpose. Usually you can google a cmdlet that you want to use to get syntax and usage info as well.

You can get most of the information available in TechNet straight from powershell by running
get-help <cmdlet name> -full

Open in new window

0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

A recent project that involved parsing Tableau Desktop and Server log files to extract reusable user queries for use in other systems. I chose to use PowerShell to gather the data, and SharePoint to present it...
Had a business requirement to store the mobile number in an environmental variable. This is just a quick article on how this was done.
This tutorial will walk an individual through the process of configuring basic necessities in order to use the 2010 version of Data Protection Manager. These include storage, agents, and protection jobs. Launch Data Protection Manager from the deskt…
Exchange organizations may use the Journaling Agent of the Transport Service to archive messages going through Exchange. However, if the Transport Service is integrated with some email content management application (such as an antispam), the admini…

724 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question