Tuesday, August 20, 2013

Exchange 2013 | Enable all users' mailboxes and add all users to distribution gorup

We are currently in the process of setting up an all new domain and related services. We have some techs doing the creation of users but those needed mailboxes created in exchange. So instead of manually creating the mailboxes in the ECP I just ran this script from the domain administrator login on the exchange  CAS:
Get-User -RecipientTypeDetails User -Filter { UserPrincipalName -ne $Null } | Enable-Mailbox

I had already created an "All Users" distribution group so I needed to add these new users to the group:

Get-User -RecipientTypeDetails UserMailbox  -Filter { UserPrincipalName -ne $Null } | Add-DistributionGroupMember -Identity "All Users" 

I got some errors on the last command, however they were just warnings that some users were already members of the all users group, so no problem at all.

 Hope you find this useful,

Sunday, March 17, 2013

Ubuntu 12.04 LTS Drupal 7 prerequisites

Here is a list of packages needed for Drupal 7 on Ubuntu 12.04 LTS

apt-get install apache2 apache2-mpm-prefork apache2-utils apache2.2-bin apache2.2-common dbconfig-common fontconfig-config libapache2-mod-php5 libapr1 libaprutil1 libaprutil1-dbd-sqlite3 libaprutil1-ldap libcap2 libdbd-mysql-perl libdbi-perl libfontconfig1 libgd2-xpm libhtml-template-perl libjpeg-turbo8 libjpeg8 libmysqlclient18 libnet-daemon-perl libplrpc-perl libt1-5 libxpm4 mysql-client mysql-common php5 php5-gd php5-mysql postfix psmisc ssl-cert ttf-dejavu-core wwwconfig-common  php-pear

You will also need Drush

pear channel-discover pear.drush.org
pear install drush/drush
pear upgrade-all

Tuesday, May 15, 2012

WX4EMA-R On The Air

After some fine tuning the new EMA repeater for Macon is online. Bibb County ARES will be using this repeater a lot but it anyone can use it day to day....

147.015+ (600mz)
88.5 tone

Location: http://g.co/maps/pn88m

Tuesday, March 20, 2012

Mounting Network Drives with C#.net

First off, big thanks to aejw for making my life a lot easier by writing an awesome class to make this possible.

Download the project files from here, extract cNetworkDrives0015.cs and add it to your project.

Then: using aejw.Network;

private bool mount_drive(string localdrive, string sharelocation, string user = "blank", string pass = "blank")

            NetworkDrive oNetDrive = new NetworkDrive();

                oNetDrive.LocalDrive = localdrive;
                oNetDrive.ShareName = sharelocation;
                if (user == "blank")
                    oNetDrive.MapDrive(user, pass);
            catch (Exception err)
                //Optional MessageBox to show Error
                //MessageBox.Show(this, "Error: " + err.Message);
                return false;

            return true;


example usage:

if (mount_drive("h", @"\\nas007\shared"))
                //Alert that drive was mapped
                //Alert that drive mapping failed