Websites of friends

Today we will explain Powershell script that developed in all it does it is make a list of the equipment added to the domain and the user has entered.

And perhaps you will wonder to us is this for?

Well, if you have an Active Directory structure "unretouched" ie new machines introducís in the domain are stored in the computers container instead of an organizational unit (OU) within a structure of country, city, department etc ..., and at some point need to detect who added this computer to the domain to ask that person for that company was going or what equipment is to then order it in AD, just by running this script will be able to detect that machine and person is responsible for the inclusion to the domain.

The script is as follows and has been developed (by one of our staff blog that likes to live in anonymity) and improved by one of the best Powershell scripters in the world which in recent Scripting Games 2012 was 4º in LEADERBOARD (Albert Fortes).

This article consists of How to install powershell on windows y How to manage active directory from powershell.

First of all tell you that in Windows Vista, 7, 2008 Windows, on ... is already listed as installed software, but:

Where to Find tools for windows powershell 2003?: The can download from windows update (As an optional software) to today (Powershell 2.0). When installing you will find them at: Home -> All the programs -> Accessories -> Windows Powershell.

Active Roles Management installed for Active Directory software. In the installation itself we will be asked to change the security of our performances powershell, you must make a choice Powershell execution policy change from "Restricted" to "AllSigned" this will make any program not signed in powershell can be executed (is lower security, but to ensure that all the scripts that perform work or unload) (Be careful from now on to run unknown code in .ps1 format).