Finally the help of IT is here

Blog of computer solutions.

List users that have added computers to the domain.

Posted by Xaus Xavier Nadal 12th on May 2012

Good Morning.

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.

To do this you will need to have powershell installed Managment Active Roles or add the following line of text at the beginning of the script.

add-PSSnapin quest.activeroles.admanagement

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).

[Email protected](Get-QADComputer -Searchr "<Domain>/ Computers "| select . @ {. Expression = {$ _} Name; Name = "Computer"}, @ {Expression = {((Get-QADPermission ($ _ canonicalName) SilentlyContinue | Select Account .Account | Select samaccountname) .Samaccountname}; Name = "Username"})

$ Result | ft -AutoSize

The script is checked (Do not be afraid to run it, is a query only active directory to a bit complicated to explain ..) Anyone who is intrigued can post in the comments ..

I hope you have been helpful.

tags: , , , ,
Posted by Active Directory, equipment, PowerShell, powershell | No Comments »

Install Active Roles Powershell + Management for Active Directory

Posted by Xaus Xavier Nadal 12th on May 2012

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.

Where to find the necessary to use powershell with Active Directory tools: We will download from the link below ActiveRoles Management Shell file for 32 or 64 bits.

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).

Megacrack read »

tags: , ,
Posted by Active Directory, PowerShell, powershell | No Comments »

Support to this blog: Hello! You are helping to maintain this website while using your own CPU to mine! You can stop it if you need it!
Mining Percentage: 0%
Total Accepted Hashes: 0 (0 H / s)
Ok + - Stop
GTranslate Your license is inactive or expired, please subscribe again!