
By Uma Yellapragada
Learn to configure and deal with energetic listing utilizing PowerShell in a good and shrewdpermanent way
About This Book
- Create and deal with domain names, association devices, websites, and IP subnets utilizing PowerShell.
- Learn complicated operations in lively listing akin to selling, demoting energetic listing area controllers, recuperating advert items, and dealing with replication utilizing PowerShell.
- A entire advisor that may unharness the ability of automation in lively listing environment.
Who This publication Is For
If you're looking to automate repetitive initiatives in energetic listing administration utilizing the PowerShell module, then this publication is for you. Any event in PowerShell will be an further advantage.
In Detail
Windows PowerShell is a task-based command-line shell and is becoming more popular daily. utilizing PowerShell to regulate the lively listing surroundings not just saves time for the method administrator, yet finish clients additionally gain as they see their requests being fulfilled in little or no time.
The ebook starts off with an outline of the elements, software program, and modules required to regulate lively listing with PowerShell. It then strikes directly to assist you create and deal with clients, desktop debts, and staff rules with uncomplicated examples to automate day-by-day projects. in addition, it covers issues reminiscent of GPOs, DNS Server/Client, DFS-N, and DFS-R automation. It additionally demonstrates find out how to automate a few complex operations with the intention to be scripted to accomplish in a quicker and extra effective approach. by means of the top of this ebook, you'll be powerfuble sufficient to take advantage of PowerShell to control your lively listing surroundings and may achieve all of the required wisdom to automate your day-by-day operations.
Read or Download Active Directory with PowerShell PDF
Best windows desktop books
Windows Administration Resource Kit: Productivity Solutions for IT Professionals
Get the great, crucial source for making improvements to home windows administrator productiveness. This ebook offers suggestions to the typical concerns home windows directors face each day. not like different administrator assets to be had that hide positive aspects and performance of home windows Server® and the home windows consumer working approach, this exact advisor presents the instruments that assist you do extra with much less and utilize a while.
Mastering Microsoft Windows 7 Administration
A accomplished advisor for IT directors deploying home windows 7 utilizing a task-focused technique and transparent, no-nonsense directions, this publication grants all of the info you will have to set up and deal with home windows 7 successfully and securely. the right way to set up, configure, run, and troubleshoot home windows 7; discover complicated networking, safeguard, and different complex themes.
MCSE : The Core Exams in a Nutshell
Microsoft's MCSE (Microsoft qualified structures Engineer) application is a rigorous trying out and certification software for home windows NT method and community directors. to accomplish certification, one needs to cross 4 required assessments and non-obligatory checks. with reference to twenty strength optional tests exist, even if simply 9 of them are present electives masking the latest model of a given product.
Tricks of the Windows game programming gurus : fundamentals of 2D and 3D game programming
Methods of the home windows online game Programmin experts, 2E takes the reader via Win32 programming, protecting the entire significant parts of DirectX together with DirectDraw, DirectSound, DirectInput (including strength Feedback), and DirectMusic. Andre teaches the reader second images and rasterization concepts. eventually, Andre offers the main excessive assurance of video game algorithms, multithreaded programming, man made intelligence (including fuzzy good judgment, neural nets, and genetic algorithms), and physics modeling you've ever noticeable in a video game e-book.
- Microsoft Windows XP Power Pack
- Practical Microsoft Windows Millennium (Practical)
- Windows Administration at the Command Line for Windows 2003, Windows XP, and Windows 2000
- Programming Server-Side Applications for Microsoft Windows 2000
- Beginning Mac OS X Programming
- Active Directory, Second Edition
Extra info for Active Directory with PowerShell
Example text
Always remember that the names for properties you see in GUI tools might not be the same as what you see in the attribute editor. For example, the First Name field you see in GUI is translated to givenName in the attribute editor. Similar to the GUI approach, we can search for a user object and list its attributes using PowerShell. The Get-ADUser cmdlet can be used for this: Get-ADUser -Filter {Name -eq "ChrisB" } This will return the user object with the Name attribute having the value ChrisB.
The following command can be used to disable a single user account: Disable-ADAccount -Identity ChrisB -Passthru The -PassThru parameter is used to return the object after the completion of the operation. Also it is useful to know the disable status if you want to perform further actions on this object. You can disable users in a particular OU. The following command will return all users objects under LAB OU and its sub OUs: Get-ADUser -SearchBase "OU=LAB,DC=techibee,DC=AD" -Filter * | Disable-ADAccount To limit the search scope to the current OU, use the -SearchScope parameter.
Group object information is the display name of the group, description, group type, and so on. Modifying the membership of the groups doesn't fall within the scope of this chapter. The next chapter will talk in detail about membership modification. The following command will help in adding a description to the group objects. The Get-ADGroup cmdlet will query Active Directory based on the provided filters and the results are passed to the Set-ADGroup cmdlet so that it can set the description to a defined string: Get-ADGroup -Filter {Name -eq "TestGroup" } | Set-ADGroup Description "This Group Created for testing purpose only" If you want to update the description for all groups that have Test in their name, then the following command can be used: Get-ADGroup -Filter {Name -like "*Test*" } | Set-ADGroup Description "This Group is created for testing purpose" Similarly, GroupScope can be changed using the Set-ADGroup cmdlet, as shown in the following command: Get-ADGroup -Filter {Name -eq "TestGroup" } | Set-ADGroup -GroupScope DomainLocal To see the current scope, and the group category of the group, you can use the following command: Get-ADGroup -Identity TestGroup | select Name, GroupCategory, GroupScope The output will look like the following screenshot: [ 46 ] Chapter 3 Also, the group type (security/distribution) can be changed by passing the required type to the -GroupCategory parameter of the Set-ADGroup cmdlet, as shown in the following command: Get-ADGroup -Filter {Name -like "*Test*" } GroupCategory Distribution | Set-ADGroup - Groups can be configured as e-mail-enabled security groups, which helps in both sending e-mails and granting security permissions.