Adfind query

Command below allows you to pull all users and their last authentication and put them into CSV file:

AdFind>adfind -b ou=Users,dc=domain7543,dc=local -f “objectcategory=user” cn displayName LastLogonTimeStamp -tdcs -csv > out2.csv

Posted in Random stuff | Tagged , | Leave a comment

Enterprise WLAN profile deployment with .bat script

I will demonstrate how to mass deploy WLAN profiles with simple .bat scripts and wlan.exe utility from Microsoft. Active Directory GPO prior to 2003 native mode doesn’t give you the option to mass deploy WLAN profiles. Also if you don’t run AD infrastructure at all and want a simple script you will find this useful.
Script takes into account that some clients don’t have Wireless card and will skip them.
Continue reading

Posted in .bat scripts, Random stuff | Tagged , , , , , , | Leave a comment

.bat script registry query and change

The following script demonstrates how to query registry to check if specific registry key exists. If it does, it checks the value and if doesn’t match required it will remove and recreate with proper value.
Continue reading

Posted in .bat scripts, Random stuff | Tagged , , | 5 Comments

.bat script service status

The following script demonstrates how to query NT Service Controller for service status. This script was used to check if the application (service) is running and if not install. msi package. Basic logging is also included.
You might need to find out service name. To do so issue the following cmd command to list all services:
sc query
Continue reading

Posted in .bat scripts, Random stuff | Tagged , , | 4 Comments

Sharing large files with the convinience of email

In today’s world email became preferred way of communication in public and private sectors. With the progress and ever increased popularity of multimedia content on the network average email size increased. Many organization face the dilemma of keeping up to date their software and hardware to meet this ever changing requirements. I this article I would be focusing on mid- to large business organizations that have their own email private infrastructure. How to share large files with the convenience factor of email when your current email infrastructure can’t support it.

Continue reading

Posted in Random stuff | Tagged , , , | 1 Comment

test

First post

Posted in Random stuff | Leave a comment