Exchange Remote PowerShell - PSLanguageMode to FullLanguage

How many developers have encountered the following errors when attempting to write remote PowerShell commands against Exchange? Function declarations are not allowed in restricted language mode or a Data section. Property references are not allowed in restricted language mode or a Data section. Assignment statements are not allowed in restricted…

AD .NET - User's Can't Change Password Attribute (Get/Set)

The following is an example on how to read a user's Can't Change Password attribute in Active Directory using C#. public bool GetCantChangePassword(string userid) { bool cantChange = false; try { DirectoryEntry entry = new DirectoryEntry(string.Format("LDAP://{0},{1}", "OU=Standard Users,OU=Domain", "DC=domain,DC=org")); entry.AuthenticationType = AuthenticationTypes.…

Minecraft Linux Servers - Automated Commands using Screen & Cron

The following is for Minecraft Server administrators running Linux. If you run your Minecraft server through a named screen session, you can develop simple bash scripts that automate commands. This can be everything from giftbag scripts to automated backups. An example backup script: /home/user/minecraft/backup.sh #!/bin/sh…

Exchange 2010 - Enable Mailbox through C# & PowerShell

The following is an example on how to use C# to create exchange mailboxes for Exchange 2010 using remote PowerShell. Imports, not all are used in the example function below: using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.DirectoryServices; using System.EnterpriseServices; using System.…

Oracle 11g R2 x64 Client with ODAC Installation Guide

The following is a straightforward guide to installing the Oracle Client and Oracle Data Access Components for Windows 64bit clients/servers. Downloads: 1. 64-bit Oracle Client 11g R2 [http://www.oracle.com/technetwork/database/enterprise-edition/downloads/112010-win64soft-094461.html] 2. 64-bit Oracle Data Access [http://www.oracle.com/technetwork/database/windows/…

PL/SQL Challenge 2010 Q3 Playoffs - 4th Place

In Q3 of 2010 I competed in the PL/SQL Challenge Playoffs [http://www.plsqlchallenge.com/] and ranked 4th out of 62 competitors worldwide! While I ranked 4th, I was still the top ranked US player. Source: http://plsql-challenge.blogspot.com/2010/12/winners-of-q3-playoffs.html Congratulations to all of the…