Dsquery List members for all groups


Open Command prompt and use dsquery to export to txt the data to a TXT file.

dsquery * -limit 0 -filter “(&(objectCategory=group))” -attr name member > a.txt

Advertisements

Wsus Configure Windows Update Client.


All the post is redirect to client side actions only.

The client gathers all the information in this folder %Windir%\SoftwareDistribution, in my case folder content has 184 MB. Read more of this post

Vbscript Users Logon Script for Active Directory


This script as some pre-requisites that must be checked before.

1 – all folders and shares must be created

2 – all groups in ad must be created and associate to users Read more of this post

Vbscript WMI Gather information from all Domain computers to MDB


Hi,

This is a little extensive, but in the end I think you will enjoy reading.

What script does:

Gather all information in all computers and servers in a certain domain. This can be useful if you pretend to upgrade, or plan infra-structure changes, or just create your own CMDB.

We will gather information about:

hardware, software, printers, network, OS, Firewall, Disks, Shares, Users, event viewer, etc.. Read more of this post

Active directory DCDiag Analysis


To proceed with this task I will use dcdiag tool. The tool can be Downloaded here. Running this tool and analysing the report, will in many cases avoid major problems and allow you to know what you have and the state of your infrastructure. You can see all the dcdiag options in attach. Read more of this post

%d bloggers like this: