Solved

Powershell cmdlets and scripts for AD in 2012 R2

Posted on 2016-09-08
4
54 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

Is Your AD Toolbox Looking More Like a Toybox?

Managing Active Directory can get complicated.  Often, the native tools for managing AD are just not up to the task.  The largest Active Directory installations in the world have relied on one tool to manage their day-to-day administration tasks: Hyena. Start your trial today.

Question has a verified solution.

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

Utilizing an array to gracefully append to a list of EmailAddresses
The Nano Server Image Builder helps you create a custom Nano Server image and bootable USB media with the aid of a graphical interface. Based on the inputs you provide, it generates images for deployment and creates reusable PowerShell scripts that …
This tutorial will walk an individual through the process of transferring the five major, necessary Active Directory Roles, commonly referred to as the FSMO roles to another domain controller. Log onto the new domain controller with a user account t…
This tutorial will walk an individual through the process of configuring their Windows Server 2012 domain controller to synchronize its time with a trusted, external resource. Use Google, Bing, or other preferred search engine to locate trusted NTP …

791 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