Getting password complexity requirements with VBScript and Powershell

I was helping with a method to check a user’s password against the domain via a program called UMRA. The idea was to use basic JavaScript validation for some of the password checks, but then to send the validation to the server for true verification. There currently is no process for checking a password without first creating the account and checking the error code from Active Directory. I did some searching and found various different methods from Microsoft, but nothing that hit the nail on the head. Then doing one final Google search for “vbscript domain policy” lead me to this website.

Continue reading

Making DVDs from JVC Everio MOD files using Ubuntu, WinFF, Avidemux, and DeVeDe

I purchased the JVC Everio hard disk camcorder with the intention of quickly copying the movie files from it and burning them to a DVD. Since I use Ubuntu and since the camera automatically detected as a USB hard drive, I did not install the supplied software, opting for open source applications instead.

Continue reading

Integrating Real-Time SQL Triggers to manage Active Directory Accounts with UMRA

Triggers allow a set of SQL code to run on several types of SQL actions, such as INSERT, UPDATE, or DELETE. For instance, upon an INSERT, the SQL engine will call the trigger configured for the INSERT action. The trigger specified will have programming logic to perform actions on other systems. With OLE Automation enabled in SQL, the trigger will have the ability to perform actions using COM objects.

Continue reading

Fixing Home Directories with Powershell

I had a customer that reported that some of his student’s home folders were missing and ending up on someone else’s account. This is a very bad thing when it comes to large school districts, as you could imagine. I identified the problem immediately and fixed it but that left us with a number of home directories that were already copied to new locations. I had to find the original owners of these directories and produce a list of the owner and the new directory name. In the process I also produced a list of the students where they had a home directory attribute set but the home directory was missing.
Continue reading

Uploading Logitech Alert Security Video to Dropbox using PHP

Some time ago my house was broken into. My wife had left for a quick walk at a nearby park with our dog and within 30 minutes, at 10:30 in the morning, some people broke through our side-entry garage door and stole anything electronic that they could carry, as well as loaded weapons in a small safe. When my wife came home they escaped out the garage door again, leaving the house a mess. After this incident we decided to get some security cameras.
Continue reading

Automating and Controlling applications with VBScript

VBScript is one of those programming languages that we all hate, but sometimes it’s the easiest one to throw together a solution for a specific problem. This could be anything from writing information to a file, listing AD accounts, to performing more complex user interaction. One of the neater tricks to VBScript is its ability to control running applications.
Continue reading

Export Exchange Mailboxes to PST using Powershell

Exporting mailboxes can be useful when an employee or user leaves the workplace. You may want to archive all of the files on a fileserver and delete the old mailbox. Here I will give you the commands and resources to export the mailbox to a PST and to know what to expect before you run into an error. Continue reading

Displaying user accounts in an AD Domain using PHP and UMRA

This article describes how to configure a UMRA project to query an Active Directory domain for all users and return the list with additional information to a PHP website. The website will read the table of user information and display the results.
Continue reading