Cheap Talk, throw your two cents in. Listen to what I have to say and you may actually enjoy yourself.
Wednesday, March 27, 2013
Remove Stale/Old Active Sync Devices from All Mailboxes
Quick Google Search found this Technet thread
The long and short of it are these two lines that gather all the active sync devices that haven't checked in within the past 30 days and then removes them.
For my purposes I changed it 90 days the first time through, however I now run this script once monthly.
-- Powershell Start --
$DevicesToRemove = Get-ActiveSyncDevice -result unlimited | Get-ActiveSyncDeviceStatistics | where {$_.LastSuccessSync -le (Get-Date).AddDays("-30")}
$DevicesToRemove | foreach-object {Remove-ActiveSyncDevice ([string]$_.Guid) -confirm:$false}
-- Powershell End --
Now let's say the user doesn't have a mailbox on Exchange anymore.
You first have to temporarily recreate the mailbox
-- Powershell Start --
Enable-Mailbox -Identity:'OU/User'
-- Powershell End --
Then rerun the above script.
If you don't create the mailbox you get a can't find recipient error.
Then after the active sync devices are gone simply run
-- Powershell Start --
Remove-Mailbox -Identity:'OU/User'
-- Powershell End --
If for some reason you still can't remove the Active Sync devices you can open ADSI Edit and look for
CN=ExchangeActiveSyncDevices container under the user object
Then simply remove that.
Tuesday, March 26, 2013
A quote
A lack of scientific certainty should never be allowed to undercut our ability (and responsibility) to act on imperfect information. People who think science is certain don't understand science. We only ever have contingent knowledge - the most robust scientific thinking at a given moment - and this thinking is always subject to change. That's what makes it science. But just because the thing is imperfect does not actionable. Newtonian science is not perfect but it's enough to get us to the moon and back.
Mark Jannot - Editor-in-Chief Popular Science February 2012
Thursday, March 21, 2013
FreeBSD Update Script
This is a script I stole from someone else and modified.
It originally used portupgrade, but portmaster is better in my opinion.
The script basically looks for all out of date ports and runs through upgrading them.
Additionally it asks you to configure them and does this for all dependencies as well.
This isn't one of those set it and forget scripts you can put in crontab - you actually need to pay attention when upgrading ports and this script needs your full attention.
There a few pre-requisite things that must be addressed:
1) Make sure ports is installed or if it is installed, up to date
To Install Ports:
portsnap fetch extract
To Update Ports:
portsnap fetch update
2) Install portaudit
cd /usr/port/ports-mgmt/portaudit
make install clean
3) Install portmaster
cd /usr/ports/ports-mgmt/portmaster
make install clean
4) Create a log file /var/log/freebsd-update.log
touch /var/log/freebsd-update.log
--Script Start--
#!/bin/sh
LOG_FILE="/var/log/freebsd-update.log"
echo "Starting updates: `date`" | tee -a ${LOG_FILE}
echo "***"
echo "*** Checking for FreeBSD patches..."
echo "***"
/usr/sbin/freebsd-update fetch | tee -a ${LOG_FILE}
/usr/sbin/freebsd-update install | tee -a ${LOG_FILE}
echo "***"
echo "*** Updating ports tree..."
echo "***"
/usr/sbin/portsnap fetch update | tee -a ${LOG_FILE}
echo "***"
echo "*** Looking for ports to update..."
echo "***"
/usr/local/sbin/portmaster -a --force-config -d -b -t -v -y -t | tee -a ${LOG_FILE}
echo "***"
echo "*** Checking installed ports for known security problems..."
echo "***"
/usr/local/sbin/portaudit -Fva | tee -a ${LOG_FILE}
echo "Finished updates: `date`" | tee -a ${LOG_FILE}
--Script End--
Wednesday, January 30, 2013
My first attempt at Garbanzo Burgers
![]() |
My first attempt at Garbanzo Burgers
View or comment on Ben Warriner's album »
Google+ makes sharing on the web more like sharing in real life. Learn more.
Join Google+ |
![]() |
Tuesday, January 29, 2013
Fwd: Working For a Budget in Washington and Jobs in Texas
This guy is an idiot, which is why I subscribe to the newsletter.
---------- Forwarded message ----------
From: "Senator John Cornyn" <newsletter@cornyn.enews.senate.gov>
Date: Jan 29, 2013 2:41 PM
Subject: Working For a Budget in Washington and Jobs in Texas
To: "Benjamin Warriner" <benjamin.warriner@gmail.com>
Cc:
> If you are having trouble viewing this message or would like to share it on a social network, you can view the message online.
>
> Unsubscribe - Update My Profile
>
> The Lonestar Weekly
> January 29, 2013
> SERVING TEXANS IN THE SENATE SINCE 2002
> Share on Facebook
>
> Share on Twitter
>
> No Budget, No Pay Act
>
> Click Here to Watch Video
>
>
> This week, I again cosponsored the "No Budget, No Pay" legislation, which would hold Congress accountable by requiring Members to pass a budget each fiscal year in order to receive pay. Common sense doesn't seem all that common in Washington these days, but I think this is a sensible measure that members of Congress on both sides of the aisle can get behind, with strong support from Americans across the country.
>
> Texas families and small businesses have to budget, and so should their government. I hope my colleagues will quickly lend their support to this legislation, which will help get us back on a fiscal track where we no longer spend money we don't have.
>
>
>
>
>
>
>
> Keystone Pipeline
>
> Click Here to Watch Video
>
> This week, I also sent a letter encouraging the President to approve the Keystone XL pipeline. It has undergone more than four years of the most exhaustive environmental scrutiny of any pipeline in U.S. history, and just this week the Governor of Nebraska cleared the way for the pipeline to be routed through his state—one of the final hurdles preventing it from moving forward. Keystone XL will provide us with greater energy security, allowing us to tap into North American sources of energy and reducing our dependence on unstable nations in the Middle East.
>
> Just as important, this pipeline would create thousands of jobs, many of which would be in Texas, where the pipeline would terminate.The positive economic impact for Texas would be staggering, creating $1.6 billion of direct investment, an estimated $2 billion increase in our total economic output, and nearly $50 million dollars of increased revenue for our state.
>
> If the President is truly concerned about jobs, the economy, and energy security, he should stop stonewalling this pipeline and let it move forward as quickly as possible.
>
>
>
> Fiscal Responsibility
>
> Click Here to Watch Video
>
> There are several important deadlines looming, including the debt ceiling and the across-the-board sequester of agency funds, including the Department of Defense. While no agency should be immune to spending cuts, we need to be careful to ensure that our military's mission and our national security requirements dictate the Defense budget and not the other way around.
>
> We have known about these deadlines for some time, but we have yet to see any leadership or proposals from the President that will bring both sides together to tackle these challenges. These are critical opportunities to answer the call of the American people and get serious about our nation's unsustainable debt. What we don't need is another manufactured crisis by the Obama Administration,forcing a 2:00 A.M. Senate vote. Nobody wants another cliffhanger that weakens public trust in our government or in our willingness to meet our responsibilities, and most of all no one wants another credit downgrade. It is time for the President to step forward and show real leadership that will get our nation back on a fiscally sustainable path.
>
> News Releases
>
> January 25:Cornyn Statement on 2013 March For Life
> January 23:Cornyn, Bipartisan Group of Senators Urge President To Approve Keystone XL
> January 23:U.S. Senators Cornyn and Cruz Joint Statement on Texans Killed in Algeria
> January 17:Cornyn Calls on Obama to Submit Debt Ceiling Request
> January 17:Cornyn Questions Holder Over Death of Reddit Co-Founder Aaron Swartz
> January 15:Cornyn: Closed Door Meetings, Retraction Letters Can't Erase Hagel's Record
> January 10:Cornyn Statement on Nomination of Jack Lew for Treasury Secretary
> January 10:Cornyn Op-Ed: Why I Can't Support Hagel
> January 7:Cornyn: Hagel 'Worst Possible Message' for U.S. Allies in Middle East
> January 4:Cornyn: Partial Government Shutdown May Be Needed to Restore Fiscal Sanity
>
> Social Media
>
> Sen. Cornyn regularly updates his profiles with the latest news and developments from around Texas and Capitol Hill.
>
>
>
> Texas Times Column
>
> December 14:Tales of Christmas Past In Texas
> November 20: A Message of Thanksgiving
> September 14: Cowtown On The Open Seas: Commissioning the USS Fort Worth
> August 29: A Texas Town with an Abundance of Books
> August 10: Back To School On The Texas Frontier
> July 27: Don't Mess With Texans' Hard-Earned Success
> July 2: Remembering The Sacrifices Behind Independence Day
> June 15: The Hero From Eden, Texas
> May 24:A Bittersweet Trip on the Honor Flight Network
> May 14:Saluting Unsung Heroes: Military Spouses
>
> TEXAS OFFICES
> WASHINGTON DC OFFICE
> Click your region to
> find the latest news and office location
> 517 Hart Senate Office Bldg.
> Washington, DC 20510
> Main: 202-224-2934
> Fax: 202-228-2856
> Unsubscribe - Update My Profile - Privacy Policy
>
>
>
Saturday, December 15, 2012
...
Read more: http://www.foxnews.com/us/2012/12/15/officials-release-names-victims-in-connecticut-elementary-school-shooting/#ixzz2FBCNx86J
Friday, December 14, 2012
Tragedy
So I am going to quote President Obama.
"The majority of those who died today were children — beautiful little kids between the ages of 5 and 10 years old. They had their entire lives ahead of them — birthdays, graduations, weddings, kids of their own. Among the fallen were also teachers — men and women who devoted their lives to helping our children fulfill their dreams."
"So our hearts are broken today — for the parents and grandparents, sisters and brothers of these little children, and for the families of the adults who were lost. ..."
I don't have a clue
I'm so very tired. It's almost all the time now.
-
It's funny sometimes, you think that you did something good by figuring out why something isn't working, but instead people assume y...
-
I think I eat too much for breakfast. I had a Yoplait French Vanilla, which is really good. I also had a cheddar cheese and mayo sandwich....
-
I am watching Grey's Anatomy right now. I watched Fox before that, except that stupid show between the Simpons and Family Guy. Either wa...