Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

Powershell cmdlets and scripts for AD in 2012 R2

Posted on 2016-09-08
4
Medium Priority
?
79 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 41

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 41

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 43

Accepted Solution

by:
Adam Brown earned 2000 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

Problems using Powershell and Active Directory?

Managing Active Directory does not always have to be complicated.  If you are spending more time trying instead of doing, then it's time to look at something else. For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why

Question has a verified solution.

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

Had a business requirement to store the mobile number in an environmental variable. This is just a quick article on how this was done.
A walk-through example of how to obtain and apply new DID phone numbers to your cloud PBX enabled users that are configured in Office 365. Whether you have 1, 10 or 100+ users in your tenant, it's quite easy to get them phone-enabled and making/rece…
Microsoft Active Directory, the widely used IT infrastructure, is known for its high risk of credential theft. The best way to test your Active Directory’s vulnerabilities to pass-the-ticket, pass-the-hash, privilege escalation, and malware attacks …
Sometimes it takes a new vantage point, apart from our everyday security practices, to truly see our Active Directory (AD) vulnerabilities. We get used to implementing the same techniques and checking the same areas for a breach. This pattern can re…

636 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