Solved

Powershell cmdlets and scripts for AD in 2012 R2

Posted on 2016-09-08
4
51 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
  • 2
4 Comments
 
LVL 39

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 39

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 39

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

Best Practices: Disaster Recovery Testing

Besides backup, any IT division should have a disaster recovery plan. You will find a few tips below relating to the development of such a plan and to what issues one should pay special attention in the course of backup planning.

Question has a verified solution.

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

OfficeMate Freezes on login or does not load after login credentials are input.
The recent Microsoft changes on update philosophy for Windows pre-10 and their impact on existing WSUS implementations.
In this Micro Tutorial viewers will learn how to restore their server from Bare Metal Backup image created with Windows Server Backup feature. As an example Windows 2012R2 is used.
This tutorial will walk an individual through the process of installing of Data Protection Manager on a server running Windows Server 2012 R2, including the prerequisites. Microsoft .Net 3.5 is required. To install this feature, go to Server Manager…

776 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