-
Chapters 12 and 13 have been added to the Manning Early Access Program Chapter 12 shows you how to manage your domain controllers Chapter 13 teaches how to protect the data in your Active Directory You can order the MEAP from www.manning.com/siddaway3...
-
The MEAP for AD Management in a Month of Lunches has been extended with the inclusion of chapter 11 – Creating Domain Controllers. www.manning.com/siddaway3 Enjoy Read More...
-
Grading the scripts in Event 4 and the one thing that jumps out is the amount of unnecessary data being carried through the scripts You were asked for 7 properties off 20 random users Get-ADUser has a –properties parameter. USE it to restrict the properties...
-
The MEAP for AD Management in a Month of Lunches has been updated with the release of chapter 9 on managing group policies Read More...
-
Many of the Microsoft AD cmdlets have a –Filter and an –LDAPFilter parameter. So what’s the difference? PS> Get-Help Get-ADUser -Parameter *Filter* -Filter <String> Specifies a query string that retrieves Active Directory...
-
I decided to replace one of the DCs in my test environment with a Windows 2012 Server Core machine. Server Core has really come of age in Windows 2012 – its easy to configure. I’ve covered configuring a server before but to recap: Rename the machine Read...
-
The recording, slides and demo script from yesterday’s PowerShell and Active Directory session can be found here: https://skydrive.live.com/?cid=43cfa46a74cf3e96#cid=43CFA46A74CF3E96&id=43CFA46A74CF3E96%2140563 Read More...
-
Quick reminder for tomorrow’s session from the UK PowerShell group. Details from: http://msmvps.com/blogs/richardsiddaway/archive/2013/01/16/uk-powershell-group-29-january-2013.aspx Read More...
-
When: Tuesday, Jan 29, 2013 7:30 PM (GMT) Where: virtual *~*~*~*~*~*~*~*~*~* Active Directory is one of the commonest automation targets for administrators. This session will covert the basics of automating your AD admin - scripts and the Microsoft cmdlets...
-
A question on my blog asked how do you know which domain controller you are running against when you search Active Directory. Unless you explicitly instruct your script to use a specific domain controller it will use the one to which you authenticated...
-
A question on the forum about a function had me thinking. The user had defined two parameters for the function and then used Read-Host to get the values. NO Much better way is to use an advanced function and make the parameters mandatory function Getuserdetails...
-
I was asked about searching a user name for a string and replacing it so that the object is renamed. This is a three stage activity. First get the user. Two modify the name. Three rename the object. In active directory the name attribute has...
-
A reader left a comment on this post http://msmvps.com/blogs/richardsiddaway/archive/2012/12/09/bulk-modifications-using-set-aduser.aspx I was asked to show how to use the –Clear parameter. Using the same CSV file this works: $users = Import-Csv -Path...
-
The standard approach to the bulk modification of users is to create a CSV file with an identifier and the data you want to change. Here’s part of a CSV file that could be used to modify some AD attributes – Division, City and Office SamAccountName...
-
A question came up on the forum about counting the number of members a group has. There are a number of ways of doing this but this is one of the easiest $data = @( ) Get-ADGroup -Filter { Name -like "ADL*" } | foreach { $data += New-Object...