itefix's blog

A simple Powershell-based solution for Exchange ActiveSync management

Adeas.ps1 is a Powershell script which implements a simple Exchange ActiveSync management solution based on AD-groups and ActiveSync mailbox policies. Each AD-group corresponds to a level implemented by an ActiveSysnc mailbox policy.

Following operations are available:

  • Activate user(s)
  • Deactivate user(s)
  • Disable ActiveSync for all users
  • Generate usage reports
  • Remove stale device partnerships

 

Create random passwords in Powershell

RandomPassword function can be used to create random passwords in PowerShell based environments. It accepts a password length and an optional pattern (full or partial). A random pattern will be created or added if not specified. You can use patterns to make sure that your passwords has a guaranteed password complexity.

Examples:

 
# 8-char password with a random pattern
RandomPassword -length 8
 
# 12-char with a partial start pattern "ULNS":
# one uppercase, one lowercase, one numeric, one specific
# the last six pattern classes will be generated in random
RandomPassword -length 12 -pattern "ULNS"
 
# 10-char with a full pattern "LLLLSUUUUN":
# four lowercase, one special, four uppercase and one numeric
RandomPassword -length 10 -pattern "LLLLSUUUUN"

Dynamic Nagvis maps with GPS

gps2map.pl calculates pixel coordinates of objects with GPS coordinates and produces a Nagvis (a visualization addon for Nagios) configuration file. This allows us to create Nagvis maps with moving objects. First of all, you need to create a map image representing the area in where your mobile objects will be positioned. You can use the parameters below for map image customization:

 

 

Prepare an XP image with sysprep for installation on VMWare Server/ESX

You may encounter trouble if you want to deploy your XP image with sysprep on VMWare Server or ESX virtualization platforms. XP out-of-the-box does not support SCSI Controllers used by VMWare. The clue is to obtain the correct versions of drivers plus reconfiguring your sysprep. The recipe below has been implemented successfully on VMWare Server 1.0.5 and ESX 3.5 platforms:

 

Reset terminal services profile information in Active Directory

If you have a widely distributed network environment and many centrally located terminal servers, it is often desirable to regulate users' terminal server profile information by using group policies. In that way, you can avoid unintended delays caused by access to remote directories.

Subscribe to RSS - itefix's blog

Release announcements