Mads Krag Dam - Homepage -

A part of

DISM - Spring cleaning

Written by: Mads Dam - 28.11.2016 - 0 comments

Useful cleaning commands with dism - for now, the Windows 7 command can still be used in Windows 10 (1607)

Windows 10
dism /Online /Cleanup-Image /StartComponentCleanup /ResetBase

Windows 8.1
dism /Online /Cleanup-Image /StartComponentCleanup /ResetBase

Windows 8
dism /Online /Cleanup-Image /StartComponentCleanup

Windows 7
dism /Online /Cleanup-Image /SPSuperseded /HideSP


Newest info:

Windows 10 v1607 - Customizing Taskbar!

Written by: Mads Dam - 03.08.2016 - 0 comments

iPhone - Now was the time

Written by: Mads Dam - 21.07.2016 - 0 comments

Since the first iPhone came out, back in the day I've been a silent protestor. I didn't want them, didn't like them. Too restrictive and the company was too arrogant, in my opinion. 9 (nine!!) years later I figured the underlying iOS must have matured enough to actually be something I could be satisfied with.

So, what egged me into trying an iPhone now? I've had Nokia/Microsoft-Lumia phones since the HTC Mozart. In the pre-smartphone-era it was Nokia I used. I loved it. My Lumia 800 was a 4" phone but the problem is that every top model phone released since then just grew bigger and bigger in screen size. Something that I loathe. My sight hasn't abandoned me yet, so I can still manage a 4" screen. The Lumia 920, was very nice, and the wireless charging was superb! It carried on to 930 which I had for 2 years. And then, then everything in the Lumia line became either quiet, or even much bigger; [read Lumia 950 (XL)]. Windows Phone 7 and 8.0, was great. I loved it. But starting with Windows 10 Mobile, it has really deteriorated into something I refuse to live with.

Enter the iPhone SE which was introduced March 2016 by Apple. The declining sales of iPhone 6(s) (plus) apparently translated into Apple believing that not everyone wanted a big screen phone. So they packed most of iPhone 6s hardware into a 5s body. This is what intrigued me a lot, so come July 20th, I bought one.


I'm really not an apps-guy but I do enjoy my most basic ones that offer good functionality over a webbased version. Here are my apps:

  • Snapchat
  • Skype
  • Tumblr
  • HERE Maps
  • Wordfeud
  • Sparekassen Sjælland Mobilbank (mobile banking)
  • Pokémon GO
  • Storebox
  • MobilePay
  • OneNote
  • Sonos
  • Authenticator
  • e-Boks
  • minetilbud (physical grocery-advertising gone digital)
  • Nordea Mobilbank (mobile banking)
  • OneDrive
  • Kindle (Amazon)

I really only use a few of the builtin apps - cause I don't want to be engulfed in Apples eco-system. I refuse to be enslaved by one company alone that doesn't make their apps available in more eco-systems. With Mail, I use an Exchange-account - I only use iCloud to backup my app-list and their data. Photos are uploaded to OneDrive and notes are being taken by OneNote.

Setting up and configuring all the apps are really timeconsuming. They all configure differently. There's no coherent way of doing it. That is really more intuitive on Windows Phone.

The builtin Calendar-app is confusing. It's quite difficult to get an easy overview of when I'm available. The best option for me is the agenda-view

Notes (if I wanna write more to this):

- Much more configurable than earlier years (although I haven't been using them myself, bosses and employees have ;)

- Antenna is still something that seems crappy

- Missing dedicated camera-button
Update 2016-08-08 - Ooooh - Volume-up acts as dedicated button! :)

- Missing wireless charging


Repair Appx-Packages - Edge not working

Written by: Mads Dam - 12.05.2016 - 0 comments

For some time, I've been having problems with my work-computers Windows 10. Edge is simply just vanishing everytime I start it.

I start Edge -> Edge pops up for a second, and then closes immediately. I've been trying different stuff found on the internet, but today, finally, this worked for me!

Get-AppXPackage | Foreach {Add-AppxPackage -DisableDevelopmentMode -Register "$($_.InstallLocation)AppXManifest.xml"}

After this command ran, I was able to open Edge and have been writing this blogpost in it ;)

wmic uninstall program remotely

Written by: Mads Dam - 19.04.2016 - 0 comments

VERY useful command :)

First, get a list of programs installed on the remote computer
wmic /node:"computername" product get name

Next, uninstall, said unwanted program:
wmic /node:"computername" product where "name='All Apple Products'" uninstall

Exchange 2010 - EMC connects to old server

Written by: Mads Dam - 22.02.2016 - 0 comments

If Exchange Management Console (EMC) connects to a decommissioned Exchange server, then you have to do the following:

  1. Close EMC

  2. Under C:users(username)AppDataRoamingMicrosoftMMCExchange Management Console there is a config file named Exchange Management Console. Delete it.

  3. In the registry under HKCUSoftwareMicrosoftExchangeserverv14AdminToolsNodeStructureSettings delete the value NodeStructureSettings


My IT, an update

Written by: Mads Dam - 03.02.2016 - 0 comments

So, has the time come for me to get a Surface Pro 4?

I really have an inner struggle at the moment. Thinking, should I or shouldn't I get an SP4? It's been almost 5 years, since I really changed anything big on my desktop computer. When I think about the world today, and how everyone is basically moving towards a laptop/tablet-oriented experience, it might be time for me to go that route as well.

I have the wanted infrastructure in place: 100/100Mbit bandwith to the internet (OneDrive, backups etc), a, praised by techies, good Wifi Router (TP-Link Archer C9) that suits my needs (802.11ac, good range). A dedicated server for fun stuff (media server connected to the TV) and other storagetypes that I don't want in OneDrive (/puts-on-tinfoil-hat).

Thinking about the environment, I know that an SP4 will draw WAY less power than my desktop-build. So why am I hesitating? I think it's because it's a year-long commitment. If I choose to buy one, it'll be my primary device. I will still keep my iPad mini (3), but only because the screen size and weight (331g) is much better in bed, than the big bulky SP4 will feel like.

My only concerns are:
- Battery life (cause it'll be mostly plugged in)
- Long term fan noise (because I'll be gaming WoW and StarCraft II)

Anyway, the choice is mine, and mine alone - I know that. And I know I will have to sell some of my old stuff - cause why keep it? :)

Exchange - Increasing size limits

Written by: Mads Dam - 08.12.2015 - 0 comments

This one is quite good in explaining size-limits in Exchange and how to meet your organizations requirements.

Adobe Reader DC - Hide Tools Pane

Written by: Mads Dam - 16.07.2015 - 0 comments

So - ever since Adobe Reader DC came out - I've tried hiding the annoying right side pane that comes up everytime I open a pdf-file - this is what Adobe calls the Tools pane.

In April 2015 - Adobe Reader DC 15.007.20033 it was not possible to hide this pane, but with the newest version 15.008.20082 it IS!

Now, what I do for my users is add these two registry entries upon a new installation. (I've used Customization Wizard and added registry in there in a default_settings.mst-file which I use under deployment)

HKEY_LOCAL_MACHINE\Software\Adobe\Acrobat Reader\DC\AVGeneral
bExpandRHPInViewer REG_DWORD 0

I needed to create the AVGeneral key and create the DWORDS inside that.

The above is for my mst-file. If you use a .reg-file or other method - remember that Reader is a 32-bit program, and running in 64-bit, you will have to put it in HKEY_LOCAL_MACHINE\Software\Wow6432Node\Adobe\Acrobat Reader\DC\AVGeneral instead.

If the user manually chooses another setting inside Adobe Reader, then they problably have priority over machine setting.

OpenSSL - useful commands

Written by: Mads Dam - 25.06.2015 - 0 comments

So - my webhost Unoeuro has finally made it possible for me to add ssl-certificates to my websites. Even for subdomains - that is awesome! Althought they do claim a fee, which is why is not ssl-protected. It's still money, you know ;)

My webhost demands .crt and unencrypted .key-files. Windows usually export to .pfx so I need to split that in 2 files. OpenSSL to the rescue.

Public key extraction
openssl pkcs12 -in mypfxfile.pfx -clcerts -nokeys -out public-cert.crt

Private key extraction
openssl pkcs12 -in mypfxfile.pfx -nocerts -out private-encrypted.key

Private key decryption
openssl rsa -in private-encrypted.key -out private-decrypted.key

And done - I'm ready to import to my webhost Unoeuro

wmic - useful commands

Written by: Mads Dam - 28.05.2014 - 0 comments

wmic nic get name, speed
wmic bios get manufacturer, name, serialnumber
wmic computersystem manufacturer, model, name, totalphysicalmemory

These are typically the commands I use, when PXE-booting into WinPE to get systeminfo. With SCCM 2012 R2 and the boot-image command-prompt-enabled, it's a good way to quickly get the model-number of the booted computer and/or the speed-info of the NIC.

Do you hate IE? Attention, web developers!

Written by: Mads Dam - 10.01.2014 - 1 comment

There's no easy way to say this - if you hate or bash Internet Explorer for not showing your site correctly or breaking some functionality on your site, then I really think you should evaluate your web development skills!

I'm not saying I'm perfect - I have flaws and errors around my sites as well - but I don't bash IE nor do I bash Chrome, Safari or Firefox - not normally that is. I bash the webdevelopers! I wanted to make this post, because it might shed some light on why you should look into your own development skills first before lashing out and complaining about the "parsing product" that your clients use.

Even this exact URL is not compliant! My excuse? I use a plugin to make my blog-posts via a pretty text-admin-page-editor. A plugin I haven't updated for 3 years. So there might be a new version out there that cares more about conformity to standards. Lesson? Check your plugins for standards-compliance.


So - tips - BEFORE you start bashing Internet Explorer - VALIDATE your site using the W3C Validator page:

W3C Validator - HTML + CSS validation - if your site doesn't pass the validation - you are NOT allowed to bash IE for YOUR mistakes. Correct them and try again :)

There is also Microsofts - but it's very flashy - give it a try - you might learn something new :)


For the lazy devs - X-UA-Compatible metatag
<meta http-equiv="X-UA-Compatible" content="IE=8,IE=9,IE=10"></meta>

If you can't keep up with the IE release cadence, then use a meta-tag to ensure that your clients IE-browser renders your page correctly. In my opinion, this should only be used, when you're not able to test your site in time for a new imminent release of a new version of IE.

For more info: see this TechEd New Zealand Video - I REALLY recommend it - The browser you loved to hate


Tags: validation, html, xhtml, ie6, ie7, ie8, ie9, ie10, ie11, hate, browserwar, crappy ie

NTFS allow delete subfolders files only

Written by: Mads Dam - 02.01.2014 - 0 comments

Okay, this one is a bit tricky - my job needed me to create the following share-structure:
\\nas\scan with 2 subfolders:
- \\nas\scan\printer
- \\nas\scan\plotter

  • Domain users are allowed Read permissions on \\nas\scan (it's their root network drive)
  • Domain users are allowed to create files (not folders) underneath printer and plotter
  • Domain users are allowed to delete files and subfolders inside printer and plotter
  • Domain users are NOT allowed to delete the printer or plotter-folder

Seems easy, right? Wrong - well, it is quite easy, but searching the net for answers are tricky. I hope this can help you!


### \\nas\scan - permissions ###
Everyone - Change

NAS\administrators - Full Control
NAS\Users - Read


### \\nas\scan\printer - permissions ###
- Stop inheritance Add/Copy existing stuff for easy configuring
- Domain User (add modify in the simple-permission-list - for easy configuring)

Now go to advanced permissions find the ekstra Domain User-permission that's marked Special and edit that one: Here are the checkmarks I use:


### Result ###
The above gives just the right access so my domain users can create and delete files and folders underneath the printer-folder. If they attempt to delete the printer-folder, they'll get an access denied!


### Prerequisites ###
This has been tested on at least:
- Windows Server 2008 R2 member-server
- Domain functional level: Windows Server 2003
- Forest functional level: Windows Server 2003

WinPE keyboard, inputlocale

Written by: Mads Dam - 22.09.2013 - 0 comments

So - I've recently build a new WinPE USB disk, but I've totally forgotten how to customize it to my danish keyboard.

It took some time, but I finally found out that this command should do the trick (+ I wanted timezone set correct too)

dism /Image:mount /Set-AllIntl:da-DK
dism /Image:mount /Set-TimeZone:"Romance Standard Time"

These commands assume you're in a directory where you've already mounted a boot.wim (WinPE-image) to a directory called mount - it fails setting UILanguage to da-DK (cause I don't mind UI to be english) but sets everything else to da-DK. If you want another UILanguage, you'll have to install a language pack.

More info:

Tags: WinPE, Set-InputLocale, Set-AllIntl, Set-TimeZone, Internationalization, Keyboard

Windows 7, Windows 8 driverstore

Written by: Mads Dam - 07.08.2013 - 0 comments

Windows has a driverstore where it stores it's drivers it's either downloaded from Windows Update or installed manually from e.g. a users usb-drive.


This is lovely to know! Cause the files in that repository is all you need for a working driverpackage (no need to use stuff like Driver Genius or other utilities to extract drivers, which often fails in my experience).


Tags: driver, driverpackage, dism, inf, windows 7, windows 8, windows 8.1, windows vista, filerepository, driver repository.

Exchange 2013 - EMS not able to connect?

Written by: Mads Dam - 07.07.2013 - 0 comments

Exchange 2013 - Outlook 2013 - Outlook Anywhere not working?

Written by: Mads Dam - 21.06.2013 - 0 comments

So, I've been dealing with a weird problem with Exchange 2013.

On my server I have:
- Windows Server 2012
- Exchange 2013 (CU1)

The domain is called isites.local, and I've had it since Windows Server 2003 R2.

Everything is generally working - Autodiscover, Availability Service, Exchange Web Services (EWS), all according to ExRCA, and OWA works as well.

Now. Outlook Anywhere is the only way for Outlook clients to connect now. There's no MAPI. It's only RPC over HTTPS, which also means that for now (Exchange 2013 CU1), the servername is your mailbox-guid@domain.xx That is perfectly normal. However - Outlook Anywhere was sort of not working for me on outside clients.

"Sort of" meaning:
If a client already had a profile configured and attempted to connect again via the new Exchange 2013. It actually got updated and worked flawlessly.

If a client is brand new, coming from the outside and used Autodiscover to get alle settings, I just got a weird "Outlook is not connected" or "Cannot check name against..."-error message.

I've checked loads of webpages and most refer to the certificate being wrong or untrusted. However, OWA works and doesn't show any invalid ssl-stuff. Hmm.

What finally made it work was actually setting outlook anywhere settings to use basic authentication (set through ecp-website) and afterwards explicitly setting IIS Authentication to both Basic and NTLM:

Set-OutlookAnywhere -IISAuthenticationMethods Basic,NTLM

Beware, that only Outlook 2010 and above supports saving credentials when using Basic authentication!

.local is out! (Domains, certificates, SSL, etc)

Written by: Mads Dam - 21.06.2013 - 0 comments

I have  aproblem which I'll discuss in another blog-post, but first - here's a discovery that I'd like to share!

.local domain names and certificates are a big no-no from now on, without an internal PKI-infrastructure!

I've stumpled across a very interesting SSL-discovery. From 2015 .local-domain names are out. You cannot get an ssl-certificate with a .local-name from a public CA when 2015 hits us. And so far, it seems that some companies are already making the transition of not offering it anymore. Source: - Look under "Using a name no longer valid under new rules"

This has made me start planning on building a new domain. I don't want to just rename the old one.. it's one server, with 5 users, so, build-from-scratch it is, on the basis of Windows Server 2012 (maybe I should wait for R2? :D) - Perhaps I should even throw in DirectAccess, if it's capable of running simultaneously with Exchange 2013.

Update (2013-07-21):
Okay, so apparently Exchange 2010 with MBX/CAS/HUB-role is not able to coexist with DirectAccess on the same server - I had browsing issues from the server and if I remember correctly, also the certificate-stuff on IIS wasn't exactly functioning as expected. It'll take more research to understand why it didn't work. But for now, I'm just leaving it.

Powershell fun

Written by: Mads Dam - 23.11.2012 - 0 comments

You powershell people should know what to do... shamefully inspired by:

















Android - no thanks

Written by: Mads Dam - 07.09.2012 - 0 comments

HTC Desire S / Android

So, where to begin. Well, basically I've been using an Android-based device, the HTC Desire S, for around 2 months now. I decided to write my own personal experience with it.

I've been using it out of the box - no tinkering with custom roms or special settings the first month. I've setup my e-mail/contacts/calendar-synchronisation (ActiveSync/Exchange) and installed very few apps, which shall not be named cause then I might be stamped as a wh*re of some sorts ^^

Google Market / Google Play
First time I entered the Google Market it asked me for my google-account. Fair enough, I entered my account but to my horror it actually requires me to have a gmail-account, not just a google account. F*ck you Google - was basically my first thought and I refused for 2-3 weeks to create another Google-account.

After giving in, I setup and installed some apps, those who shall not be named ^^ and I was grumpy for having to give in, but happy nonetheless with the apps.

Contacts App/list - using as telephone
So, next up I've been actually calling from my phone, and I must say it took some getting used to searching for contacts in the call-list. Fair enough.

But, when calling people or them calling me, I've experienced too many times where I've been unable to answer a call or even end a call properly without the other end hanging up first. VERY BIG NUISANCE that I THOUGHT was over with when Windows Mobile got scrapped (Qtek phones anyone?)! NOT GOOD ENOUGH! Yes, I'm yelling!

Texting (SMS)
I can't come to terms with the stock keyboard on Android. It just doesn't work good enough for me. It corrects my every word (almost ^^), and is just horrible.

Luckily I at least got into tinkering with keyboard settings and switched off autocorrect and auto-spell and all that sh*t. But even though it's turned off, it hasn't learned my touch-mistakes like other phones do (Windows Phone, iOS) and so, I'm not happy with it. I've heard from others that Slide-IT, an alternative to the stock-keyboard), is quite nice, but I gave up before I installed that one.

Oh oh, and why do I see loading stuff when entering the sms-app!? It shouldn't start to load who's sent me a text when I enter the program. I've even noticed it first refreshes newest text from people when I enter

the program! It should just BE THERE from the start. Nuisance!

Last words
I've tried Android now - I've seen it run on different devices - Nexus S, HTC Sensation XL, HTC Desire, HTC Desire S, HTC Wildfire - and I can't in my head, imagine why sales numbers are so high.

Nokia is still my game, and Windows Phone IS the way forward - hopefully people realize that soon. I mean the whole Nokia Lumia line is so friggin' beautiful. Samsung, HTC and even iPhone are so boring and bland.

Now to be honest, I own a Nokia Lumia 700 already, an iPad (although you won't see me carrying it around in public) and now my trusty old Symbian60-based Nokia 6700 Slide is back in the game as work-phone, cause it just works!

There, I've said it, and gotten hot air out :) Android, maybe Jelly Bean will be your saviour. From what I've heard, Jelly Bean (4.1)'s keyword is (butter) as in "smooth as butter". a k a, no lagging.

unattend.xml search order

Written by: Mads Dam - 09.08.2012 - 0 comments

For my reference - this describes the implicit search order that Windows Setup will search for an unattend.xml-file.

Quite useful, when you make changes and want them to actually work in your sysprep :)

It's basically because I started a new job, where there's no WDS-server, no easy way to setup a server and gain access to it from multiple locations either. So it's sysprepped images and then a USB - And of course, the differentl locations have different needs like: CS6 Master Collection on one, but CS6 Design Premium on another. Joy! :D 

Search OrderLocationDescription




Specifies a pointer in the registry to an answer file. The answer file is not required to be named Unattend.xml.



The name of the answer file must be Unattend.xml or Autounattend.xml.

Note   Windows Setup only searches this directory on downlevel installations. If Windows Setup starts from Windows PE, the %WINDIR%\Panther\Unattend directory is not searched.



Windows Setup caches answer files to this location.

Do not overwrite the answer files in these directories.


Removable read/write media in order of drive letter, at the root of the drive.

Removable read/write media in order of drive letter, at the root of the drive.

The name of the answer file must be Unattend.xml or Autounattend.xml, and the answer file must be located at the root of the drive.


Removable read-only media in order of drive letter, at the root of the drive.

Removable read-only media in order of drive letter, at the root of the drive.

The name of the answer file must be Unattend.xml or Autounattend.xml, and must be located at the root of the drive.


windowsPE and offlineServicing passes:

  • \Sources directory in a Windows distribution

All other passes:

  • %WINDIR%\System32\Sysprep

In the windowsPE and offlineServicing passes, the name of the answer file must be Autounattend.xml.

For all other configuration passes, the file name must be Unattend.xml.



The answer file name must be Unattend.xml or Autounattend.xml

Taken directly from:

Another fun quote

Written by: Mads Dam - 26.03.2012 - 0 comments

“The trouble with socialism is that you eventually run out of other people's money” –Margaret Thatcher

Exchange 2010 - Restore mailbox

Written by: Mads Dam - 28.11.2011 - 0 comments

So, sometimes my HR-department makes mistakes and, mistakenly, lay of a person in our HR-management-system. This in turn, makes the AD-user-object, files and mailbox disappear magically via our daily cleanup-powershell-script.

HR corrected the mistake, and it's now up to me to restore the mailbox, among other things.

Here's how I do it:
We used:

  • Exchange 2010 SP1 Rollup Update 6
  • System Center Data Protection Manager 2010
  1. Create a recover database on the mailbox server, that has my DPM agent installed
    New-MailboxDatabase -Recovery -Server MBX001 -Name RDB
    New-MailboxDatabase -Recovery -Server MBX001 -Name RDB -EdbFilePath "M:\RDB\rdb.edb" -LogFolderPath "M:\RDB"

  2. Make sure it is mounted, either via EMC og EMS - Your choice - It might not mount before AD has completed it's replication.

  3. Also make sure it is set, so "This database can be overwritten by a restore" (Right-click -> Properties -> Maintenance in EMC)

  4. In the DPM console - Find the mailbox that you want to recover, right-click it and press recover.

  5. Note, that if the user has been deleted - the mailbox might lie in another database than a possible current one - provided that your system automatically creates a new mailbox for the user, as mine does!

  6. If the user haven't been deleted, but you just need to restore some items from it - Make a note to ask your user from WHEN he/she/it wants it restored from!

  7. Follow the guide in DPM:
    - Recover mailbox to an Exchange server database
    - Specify the Exchange-server where you created the RDB, and the name of the RDB :)

  8. Press Next -> Next -> Next, until it starts recovering the data into the RDB

  9. After it's finished, you now have a mailbox lying around in the recovery database. What you need to do now is merge the recovered database, with the new one.

  10. Find the Global Unique Identifier (guid) and DisplayName of the mailbox you want to copy items from by running this in EMS:
    Get-MailboxStatistics -Database RDB | Select-Object DisplayName,MailboxGuid | Sort-Object DisplayName

  11. Now create a request for the merging - Either by GUID or by DisplayName:
    New-MailboxRestoreRequest -SourceDatabase RDB -TargetMailbox mads -SourceStoreMailbox c4847352-3a53-4f42-b531-d10a25171b03 -AllowLegacyDNMismatch
    New-MailboxRestoreRequest -SourceDatabase RDB -TargetMailbox mads -SourceStoreMailbox "Mads Dam"

  12. Mails should now pour into the target mailbox even while the user is actively using it :)

Inspired by:
Creating a Recovery Database:

Restore Data Using a Recovery Database:



Exchange 2010, Distribution Groups and adding/removing users

Written by: Mads Dam - 19.09.2011 - 0 comments

So, I have joined the wonders of Exchange 2010 - And I've had my share of users calling in to complain they can't add or remove users to distribution groups anymore.

1st of all, I had to update every distribution group from Exchange 2007 to 2010 - This is a migration scenario. I can't remember how, just that I had to :)

2nd I found out that in Exchange 2010, you cannot have groups managing distribution groups anymore, but you can however have multiple users managing one distribution group.

Now even though you've put a manager on your distribution group that user cannot manage the list until the correct permissions are assigned. For my organisation we want users to manage distribution groups, but NOT create or delete them! For this to work, you need to run the following commands from Exchange Management Shell:


The vital commands!

1. Create a new role that is a copy of an already existing MyDistributionGroups-role

New-ManagementRole -Name INSERT-CUSTOM-WANTED-ROLE-NAME-HERE -Parent MyDistributionGroups

2. Remove the ability to create or delete distribution groups by running these commands.

Remove-ManagementRoleEntry CUSTOM-ROLE-NAME\New-DistributionGroup -Confirm:$false
Remove-ManagementRoleEntry CUSTOM-ROLE-NAME\Remove-DistributionGroup -Confirm:$false

3. Add this newly created role to the Default Role Assignment Policy by running this command:

New-ManagementRoleAssignment -Role CUSTOM-ROLE-NAME -Policy "Default Role Assignment Policy"

The above is what allowed us to make our users able to add and remove users from distribution groups they are managers of.


The easiest solution!

As a side-note; if you want them to be able to create and delete distribution groups as well - The only command you need to run is:

New-ManagementRoleAssignment -Role MyDistributionGroups -Policy "Default Role Assignment Policy"

But do you really want a cluttered address lists? :)


Written by: Mads Dam - 16.10.2010 - 0 comments

1. 43% of all statistics are worthless.
2. 7/5th of all people do not understand fractions.
3. 99% of lawyers are giving the rest a bad name.
4. A bachelor’s life is no life for a single man.
5. A bad plan is better than no plan.
6. A city is a large community where people are lonesome together.
7. A computer once beat me at chess, but it was no match for me at kick boxing. — Emo Philips
8. A conclusion is simply the place where you got tired of thinking.
9. A day for firm decisions! Or is it?
10. A day without sun shine is like, you know, night.
11. A drunk mans’ words are a sober mans’ thoughts.
12. A free society is one where it is safe to be unpopular.
13. A gentleman is a man who can play the accordion but doesn’t.
14. A gentleman is a patient wolf.
15. A good pun is its own reword.
16. A lie gets halfway around the world before the truth has a chance to get its pants on. — Winston Churchill
17. A little bit of powder, a little bit of paint, makes a girl’s complexion seem what it ain’t.
18. A little inaccuracy sometimes saves a ton of explanation.
19. A long-forgotten loved one will appear soon. Buy the negatives at any price.
20. A lot of people mistake a short memory with a clear conscience. — Doug Larson
21. A man on a date wonders if he’ll get lucky. The woman already knows.
22. A man wrapped up in himself makes a very small package.
23. A mathematician is a device for turning coffee into theorems.
24. A person is just about as big as the things that make them angry.
25. A professor is one who talks in someone else’s sleep.
26. A proverb is a short sentence based on long experience.
27. A religious war is like children fighting over who has the strongest imaginary friend.
28. A single death is a tragedy. A million deaths is a statistic. — Joseph Stalin
29. A smart man covers his ass, a wise man leaves his pants on.
30. A Smith & Wesson beats four aces.
31. A smoking section in a restaurant is like a peeing section in a pool.
32. A university is what a college becomes when the faculty loses interest in students
33. A weekend wasted isn’t a wasted weekend.
34. A witty saying proves nothing. — Voltaire
35. According to my calculations the problem doesn’t exist.
36. Admit nothing, deny everything and make counter-accusations.
37. Adult: One old enough to know better.
38. After all is said and done, more is said than done.
39. Alcohol is not the answer, it just makes you forget the question.
40. All generalisations are dangerous, even this one.
41. All hope abandon, ye who enter here!
42. All programmers are optimists. — Frederick P. Brooks, Jr
43. All those who believe in psychokinesis raise my hand.
44. All true wisdom is found on T-shirts.
45. All work and no play, will make you a manager.
46. Always code as if the guy who ends up maintaining your code will be a violent psychopath who knows where you live. — Damian Conway
47. Always keep your words soft and sweet, just in case you have to eat them.
48. Am I ranting? I hope so. My ranting gets raves.
49. An apple every eight hours will keep three doctors away.
50. An atheist is a man who has no invisible means of support.
51. Any clod can have the facts, but having an opinion is an art.
52. Any fool can know. The point is to understand. — Albert Einstein
53. Any time things appear to be going better, you have overlooked something.
54. Anybody can win, unless there happens to be a second entry.
55. Anybody with money to burn will easily find someone to tend the fire.
56. Anything good in life is either illegal, immoral or fattening.
57. Anything worth taking seriously is worth making fun of.
58. Anything you lose automatically doubles in value.
59. Are you wearing lipstick? Well, mind if I taste it?
60. Artificial intelligence is no match for natural stupidity.
61. As long as there are tests, there will be prayer in public schools.
62. Assumption is the mother of all screw-ups.
63. Atheists can do whatever the hell they want.
64. Attitude determines your altitude.
65. Bad command or file name. Bad, bad command! Sit! Stay! Staaaay…
66. Bad spellers of the world untie!
67. Bald guys never have a bad hair day.
68. Batteries not included.
69. Be good – and if you can’t be good, be careful.
70. Be good; if you can’t be good, have fun.
71. Be naughty – save santa the trip.
72. Be nice to your kids. They’ll choose your nursing home.
73. Be safety conscious. 80% of people are caused by accidents.
74. Beauty is in the eye of the beer holder.
75. Beauty lasts for a moment, but ugly goes on and on and on.
76. Beer – the reason I wake up every afternoon.
77. Best viewed on my computer.
78. Better late than really late.
79. Between two evils always pick the one you haven’t tried.
80. Biology grows on you.
81. Blondes may have more fun, but brunettes remember it the next day.
82. Both optimists and pessimists contribute to society. The optimist invents the airplane, the pessimist invents the parachute. — George Bernard Shaw
83. Boys will be boys, and so will a lot of middle-aged men. — Kin Hubbard
84. Bravery is being the only one who knows you’re afraid.
85. Canis meus it comedit. My dog ate it.
86. Carpenter’s rule: cut to fit; beat into place.
87. Change is inevitable, except from vending machines.
88. Chaos, panic, pandemonium – my work here is done.
89. Character is what you are. Reputation is what people think you are.
90. Chicago law prohibits eating in a place that is on fire.
91. Children in the dark make accidents, but accidents in the dark make children.
92. Clones are people two.
93. Clothes make the man. Naked people have little or no influence on society. — Mark Twain
94. Coarse and violent nudity. Occasional language.
95. Cogito cogito ergo cogito sum. I think that I think, therefore I think that I am.
96. Come to the dark side – we have cookies.
97. Computers are useless. They can only give you answers. — Pablo Picasso
98. Could crop circles be the work of a cereal killer?
99. Courage is being afraid but going on anyhow.
100. Crime doesn’t pay… does that mean my job is a crime?
101. Criminal Lawyer – a redundant phrase.
102. Cult: It just means not enough people to make a minority.
103. Dawn is nature’s way of telling you to go to bed.
104. Depression is merely anger without the enthusiasm.
105. Do not attribute to malice what can as easily be attributed to stupidity.
106. Does the name Pavlov ring a bell?
107. Does the noise in my head bother you?
108. Don’t argue with a fool. The spectators can’t tell the difference.
109. Don’t be humble, you’re not that great.
110. Don’t be irreplaceable. If you can’t be replaced, you can’t be promoted.
111. Don’t be sexist. Broads hate that.
112. Don’t believe everything you think.
113. Don’t cry because its over, smile because it happened.
114. Don’t follow me, I’m lost too.
115. Don’t let yesterday take up to much of today.
116. Don’t look unless you’re prepared to see.
117. Don’t steal a police car unless you’re prepared to floor it all the way to Mexico.
118. Don’t tell any big lies today. Small ones can be just as effective.
119. Don’t tell me how hard you work. Tell me how much you get done.
120. Don’t trust reality. After all, it’s only a collective hunch.
121. Drive defensively – buy a tank.
122. Drugs cause amnesia and other things I can’t remember.
123. Dyslexics have more fnu.
124. Eagles may soar, but weasels don’t get sucked into jet engines.
125. Early to rise, and early to bed, makes a man healthy but socially dead.
126. Earn cash in your spare time. Blackmail your friends.
127. Earth first! (We’ll strip-mine the other planets later).
128. Earth is a great, big funhouse without the fun.
129. Eat drink and be merry, for tomorrow they may make it illegal.
130. Electrical Engineers do it with less resistance.
131. Elevators smell different to midgets.
132. Entropy isn’t what it used to be.
133. Even at a Mensa convention someone is the dumbest person in the room.
134. Every absurdity has a champion who will defend it.
135. Every man has his price. Mine is $3.95.
136. Every snowflake in an avalanche pleads not guilty.
137. Every solution breeds new problems.
138. Everybody has a plan, ’till they get hit. — Mike Tyson
139. Everybody is somebody else’s weirdo.
140. Everybody wants to go to heaven, but nobody wants to die.
141. Everyone has a scheme for getting rich that will not work.
142. Everyone is beautiful if you squint a bit.
143. Everyone leaves the world a little better – some by leaving.
144. Everyone thinks of changing the world, but no one thinks of changing himself. — Leo Tolstoy
145. Everything is always okay in the end, if it’s not okay, then it’s not the end.
146. Examine what is said, not who speaks.
147. Except for 75% of the women, everyone in the whole world wants to have sex.
148. Excuse me, is there an airport nearby large enough for a private jet to land?
149. Experience is something you don’t get until just after you need it.
150. Experience is the name that everyone gives to their mistakes. — Oscar Wilde
151. F u cn rd ths, u cn gt a gd jb n cmptr prgrmmng.
152. Failure is not an option – it’s a lifestyle.
153. Failure is not falling down, it is not getting up again.
154. Failure is simply the opportunity to begin again, this time more intelligently. — Henry Ford
155. Failure teaches success.
156. Faster hardware doesn’t solve business problems – unless the business problem is slow hardware.
157. Fill what’s empty, empty what’s full, scratch where it itches.
158. Fine day to work off excess energy. Steal something heavy.
159. First get your facts; then you can distort them at your leisure. — Mark Twain
160. First rule of acting: whatever happens, look as if it were intended.
161. For a good time, call (415) 642-9483.
162. For every action there is an equal and opposite criticism.
163. For every problem there is one solution which is simple, neat and wrong. — H.L. Mencken
164. For good, return good. For evil, return justice.
165. Free speech carries with it some freedom to listen.
166. Freedom of speech is wonderful – right up there with the freedom not to listen.
167. Friendly fire – isn’t.
168. Friends come and go, enemies accumulate.
169. Friends help you move. Real friends help you move bodies.
170. Friendship is like money, easier made than kept.
171. Frog blast the vent core!
172. Gee, Toto, I don’t think we’re in Kansas anymore.
173. Getting screwed while everybody else is getting laid.
174. Give a jackass an education and you get a smartass.
175. Goals are deceptive. The unaimed arrow never misses.
176. God is a comedian playing to an audience too afraid to laugh.
177. God made us brothers, but Prozac made us friends.
178. God will forgive me. That’s his job, after all.
179. Great minds discuss ideas. Average minds discuss events. Small minds discuss people.
180. Great thinkers have always encountered opposition from mediocre minds. — Albert Einstein
181. Half the people you know are below average.
182. Happiness isn’t having what you want, it’s wanting what you have.
183. Hard work never killed anyone but why risk it?
184. Hear and you forget; see and you remember; do and you understand. — Confucius
185. Help wanted: Telepath. You know where to apply.
186. Hey Santa, how much for your list of naughty girls?
187. Hey! It compiles! Ship it!
188. Hey, you want to go out for pizza and some sex? What, you don’t like pizza?
189. Honesty is the best policy, but insanity is a better defence.
190. Honk if you like peace and quiet.
191. How come wrong numbers are never busy?
192. How long a minute is depends on what side of the bathroom door you’re on.
193. I am always doing that which I cannot do, in order that I may learn how to do it. — Pablo Picasso
194. I am not single, I’m romantically challenged.
195. I am willing to make the mistakes if someone else is willing to learn from them.
196. I can resist everything except temptation. — Oscar Wilde
197. I can’t complain, but sometimes I still do.
198. I can’t spell and beer doesn’t help.
199. I couldn’t repair your brakes, so I made your horn louder.
200. I didn’t say it was your fault, I said I was blaming you.
201. I don’t care who you are! Get those reindeers off my roof!
202. I don’t mean to sound bitter, cold, or cruel, but I am, so that’s how it comes out. — Bill Hicks
203. I don’t mind coming to work, but that eight hour wait to go home is a bitch!
204. I don’t suffer from insanity, I enjoy every minute of it.
205. I don’t care to belong to any club that will have me as a member. — Groucho Marx
206. I doubt, therefore I might be.
207. I drink to make other people interesting.
208. I had a show. Then I had a different show. Now I have a Twitter account. — Conan O’Brien
209. I have a drinking problem – the bars close at 2 AM.
210. I have a strong will but a weak won’t.
211. I have often wanted to drown my troubles, but I can’t get my wife to go swimming. — Jimmy Carter
212. I intend to live forever, or die trying. — Groucho Marx
213. I know I’m paranoid, but am I paranoid enough? — Tom Clancy
214. I like being single. I’m always there when I need me.
215. I like long walks, especially when they are taken by people who annoy me.
216. I need someone really bad! Are you really bad?
217. I never think of the future. It comes soon enough.
218. I only drink to make other people more sociable.
219. I prefer old age to the alternative.
220. I quote people to better express myself.
221. I refuse to have a battle of wits with an unarmed person.
222. I still miss my ex. But my aim is getting better.
223. I think animal testing is a terrible idea; they get all nervous and give the wrong answers. — Peter Kaye
224. I thought I wanted a career, turns out I just wanted paychecks.
225. I thought I was wrong once, but it turns out I was mistaken.
226. I used to be indecisive but I am not sure anymore.
227. I went to a fight and a hockey game broke out.
228. I’d buy you a drink, but I’d be jealous of the straw.
229. I’d rather have a bottle in front of me than a frontal lobotomy.
230. I’m a nobody, nobody is perfect, therefore I’m perfect.
231. I’m busy now. Can I ignore you some other time?
232. I’m not crazy, but the voices in my head might be.
233. I’m not normally a praying man, but if you’re up there, please save me, Superman!
234. I’m not paranoid, they really are after me.
235. I’m trying to see things from your point of view, but I can’t get my head that far up your ass.
236. If 50 million people say a foolish thing, it’s still a foolish thing.
237. If a camel flies, no one laughs if it doesn’t get very far.
238. If a man tells a woman she’s beautiful she’ll overlook most of his other lies.
239. If all the cars on the Earth were lined up bumper to bumper, some idiot would try to pass them.
240. If all the girls in Australia were laid end to end, I wouldn’t be at all surprised.
241. If all you have is a hammer, everything looks like a nail.
242. If at first you do succeed try not to look astonished.
243. If at first you don’t succeed, destroy all evidence that you tried.
244. If at first you don’t succeed, failure may be your style.
245. If at first you don’t succeed, give up, no use being a damn fool.
246. If at first you don’t succeed, look in the trash for the instructions.
247. If at first you don’t succeed, quit; don’t be a nut about success.
248. If at first you don’t succeed, redefine success.
249. If at first you don’t succeed, skydiving is not for you.
250. If at first you don’t succeed, try a shorter bungee.
251. If at first you don’t succeed; call it version 1.0.
252. If Barbie is so popular, why do you have to buy her friends?
253. If blind people wear sunglasses, why don’t deaf people wear earmuffs?
254. If everything seems to be going right, you obviously don’t know what the hell is going on.
255. If everything seems to be going well, you have obviously overlooked something.
256. If god is inside us, then I hope he likes Fajita’s, cause that’s what he’s getting.
257. If god is watching us, the least we can do is be entertaining.
258. If homosexuality is a disease, can I call into work ‘gay’?
259. If I look confused it’s because I’m thinking.
260. If I misbehave and nobody sees me, that’s one less lie I’ll have to tell later. — Dave Dunseath
261. If ignorance is bliss, why aren’t more people happy?
262. If it can go wrong it probably already has.
263. If it wasn’t for the last minute, nothing would ever get done.
264. If it’s stupid but works, it isn’t stupid.
265. If life gives you lemons, stick them down your shirt and make your boobs look bigger.
266. If oranges smell like chicken, why are tomatoes blue? Think about it!
267. If the early bird catches the worm, what about the worm?
268. If the opposite of pro is con, then what must be the opposite of progress?
269. If things get any worse, I’ll have to ask you to stop helping me.
270. If two wrongs don’t make a right, try three.
271. If voting could really change things, it would be illegal.
272. If we don’t protect freedom of speech, we will never know who the assholes are.
273. If we don’t succeed, we run the risk of failure.
274. If we’d stop trying to be happy we could have a pretty good time.
275. If you are going through hell, keep going.
276. If you are going to walk on thin ice you might as well dance.
277. If you are not committing any sins, you are probably not having a lot of fun.
278. If you are willing to admit faults, you have one less fault to admit.
279. If you can see this, you’re not blind, which is a very good start.
280. If you can’t learn to do it well, learn to enjoy doing it badly.
281. If you can’t remember, the claymore is pointed towards you.
282. If you cannot convince them, confuse them.
283. If you choke a smurf, what color does it turn?
284. If you didn’t get caught, did you really do it?
285. If you don’t care where you are, then you ain’t lost.
286. If you find a path with no obstacles, it probably leads nowhere.
287. If you lend someone $20 and never see that person again, it was probably
worth it.
288. If you put it off long enough, it might go away.
289. If you take something away from users, they’ll sneak it in the back way.
290. If you tell the truth you don’t have to remember anything.
291. If you think education is expensive, try ignorance.
292. If you try and don’t succeed, cheat. Repeat until caught. Then lie.
293. If you understand what you’re doing, you’re not learning anything.
294. If you’re happy, you’re successful.
295. If you’re not having fun, then you’re not doing it right.
296. Illegal drugs are the chlorine in the gene pool.
297. In a world without walls and fences who needs Windows and Gates?
298. In America, anybody can be president. That’s one of the risks you take.
299. In mathematics you don’t understand things. You just get used to them. — Johann von Neumann
300. In order to avoid being called a flirt, she always yielded easily. — Charles, Count Talleyrand
301. In the dark I hold your hand, because in the light you look like a man.
302. Insanity is doing the same thing over and over and expecting different results. — Rita Mae Brown
303. It always takes longer and costs more to fix it later.
304. It has become appallingly obvious that our technology has exceeded our humanity. — Albert Einstein
305. It has recently been discovered that research causes cancer in rats.
306. It is better to keep your mouth shut and appear stupid than to open it and remove all doubt.
307. It is easier to get forgiveness than permission.
308. It may be that your sole purpose in life is simply to serve as a warning to others.
309. It’s better to be a well-known drunk than to be an anonymous alcoholic.
310. It’s better to be wanted for murder than not to be wanted at all.
311. It’s better to keep your mouth shut and have people think you are a fool than to open it and remove any lingering doubt.
312. It’s like deja vu all over again.
313. It’s not enough that we do our best; sometimes we have to do what’s required. — Winston Churchill
314. It’s not reality that’s important, but how you perceive things.
315. It’s not that I’m afraid to die, I just don’t want to be there when it happens. — Woody Allen
316. It’s not whether you win or lose, it’s how you look when you play the game.
317. It’s one thing to give advice, it’s another to take it.
318. It’s people that give drinking a bad name.
319. It’s the squeaky wheel that gets the grease.
320. I’m not mentally ill, I just have a problem with reality.
321. Judge a man by his questions rather than his answers.
322. Laugh at your problems; everybody else does.
323. Lead me not into temptation. I can find the way myself.
324. Learn from my parent’s mistake. Don’t have kids!
325. Learn from your parents’ mistakes – use birth control.
326. Learning from your mistakes is smart, learning from the mistakes of others is wise.
327. Left to themselves, things tend to go from bad to worse.
328. Let’s play carpenter, first we get hammered, then I nail you.
329. Life exists for no known purpose.
330. Life is a sexually transmitted disease — R. D. Laing
331. Life is an open door. It can be closed at any time, so don’t complain about the draught.
332. Life is pleasant. Death is peaceful. It’s the transition that’s troublesome. — Isaac Asimov
333. Life is what happens to you when you’re busy making other plans.
334. Life’s a bitch, and then you’re reincarnated.
335. Life’s a bleach and then you dye.
336. Light travels faster than sound. That’s why some people appear bright until you hear them speak.
337. Linux is only free if your time is worthless.
338. Linux: because rebooting is for adding new hardware.
339. Living healthy is merely the slowest possible rate at which you can die.
340. Logic is in the eye of the logician.
341. Logic, like whiskey, loses its beneficial effect when taken in too large quantities. — Lord Dunsany
342. Look to the future, because that is where you’ll spend the rest of your life. — George Burns
343. Love is atemporary insanity curable by marriage.
344. Love may be blind but marriage is a real eye-opener.
345. Lunix… Because i’m better than you.
346. Make it idiot proof and someone will make a better idiot.
347. Man invented language to satisfy his deep need to complain.
348. Man who stands on toilet is high on pot.
349. Marriage is grand; divorce, a hundred grand.
350. Marriage. An expensive way of getting your laundry done for free.
351. Married men live longer than single men, but they’re a lot more willing to die.
352. Matrimony isn’t a word, it’s a sentence.
353. Maybe this world is another planet’s hell.
354. Men never do evil so completely and cheerfully as when they do it from a religious conviction. — Blaise Pascal
355. Microsoft is not the answer. Microsoft is the question. ‘No’ is the answer. — Erik Naggum
356. Monday is an awful way to spend 1/7th of your life.
357. Monday is the root of all evil.
358. Money is the root of all evil, and man needs roots.
359. Money should be utilized as a tool. You just gotta know which nuts to screw.
360. Most people don’t act stupid – it’s the real thing.
361. Mother told me to be good, but she’s been wrong before.
362. My one regret in life is that I am not someone else. — Woody Allen
363. Never argue with a fool, they will lower you to their level and then beat you with experience.
364. Never buy a car you can’t push.
365. Never call a man a fool. Borrow from him.
366. Never eat yellow snow.
367. Never get into fights with ugly people, they have nothing to lose.
368. Never hit a man with glasses. Hit him with a baseball bat.
369. Never interrupt your enemy while they are making a mistake.
370. Never let your sense of morals prevent you from doing what is right. — Isaac Asimov
371. Never tell a lie unless it is absolutely convenient.
372. Never test the depth of the water with both feet.
373. Never try to teach a pig to sing. It wastes your time and annoys the pig.
374. Never underestimate the power of a small tactical nuclear weapon.
375. Never underestimate the power of stupid people in large groups.
376. Never waste a lie when the truth will do. — Jack Clancy
377. Never, ever make absolute, unconditional statements.
378. No good deed goes unpunished.
379. No life is totally wasted, one can always be a bad example.
380. No one dies a virgin, life screws them all.
381. No-one suspects the butterfly!
382. Nostalgia isn’t what it used to be.
383. Not all men are fools… Some are bachelors.
384. Nothing is illegal if one hundred businessmen decide to do it.
385. Nothing will dispel enthusiasm like a small admission fee.
386. Of course there’s no reason for it, it’s just our policy.
387. Old age is nothing to worry about, except if you’re a cheese.
388. Old ideas got that way because they proved useful.
389. Old soldiers never die. Young ones do.
390. Once the toothpaste is out of the tube, it’s hard to get it back in.
391. One way to stop a runaway horse is to bet on him.
392. Only dead fish go with the flow.
393. Only the winners decide what were war crimes.
394. Only users lose drugs.
395. Optimist: Someone without much experience.
396. Patience has its limits – take it too far and its cowardice. — George Jackson
397. People in cars cause accidents. Accidents in cars cause people.
398. People will believe any lie, either because they want it to be true or they are afraid it’s true.
399. Physics is like sex. Sure, it may give some practical results, but that’s not why we do it. — Richard Feynman
400. Pretend to spank me – I’m a pseudo-masochist!
401. Programmers never die. They just become legacy. — epsilona01
402. Programming is like sex: one mistake and you’re providing support for a lifetime. — Michael Sinz
403. Proofread carefully to see if you any words out.
404. Punctuality is the virtue of the bored. — Evelyn Waugh
405. Quando omni flunkus moritati – when all else fails, play dead.
406. Rainbows are just to look at, not to really understand.
407. Reality is a nice place, but I wouldn’t want to live there.
408. Reality is for people who can’t handle drugs.
409. Rehab is for quitters.
410. Religion cannot be without morality, but morality may arrive without religion.
411. Remember to always be yourself. Unless you suck. — Joss Whedon
412. Resistance isn’t futile, it’s voltage divided by amperage.
413. Roses are #FF0000, violets are #0000FF, all of my base are belong to you.
414. Save the whales. Collect the whole set.
415. Save water – take a bath with your neighbor’s daughter.
416. Send lawyers, guns and money!
417. Sex is like air; it’s not important unless you aren’t getting any.
418. Sex is not the answer. Sex is the question. Yes is the answer.
419. Sex on tv can’t hurt unless you fall off.
420. Sleep: a completely inadequate substitute for caffeine.
421. Smile, it’s the second best thing you can do with your lips.
422. Smith & Wesson: The original point and click interface.
423. Smoking is one of the leading causes of statistics. — Fletcher Knebel
424. Software isn’t released, it’s allowed to escape.
425. Some cause happiness wherever they go. Others whenever they go. — Oscar Wilde
426. Some mistakes are too much fun to only make once.
427. Some people wish to get what they deserve, while others fear the same.
428. Sometimes a majority only means that all the fools are on the same side.
429. Sometimes the best helping hand you can give is a good, firm push.
430. Spelling is a lossed art.
431. Stop searching. Happiness is right next to you.
432. Stupidity, if left untreated, is self-correcting. — Heinlein
433. Support your local Search and Rescue unit. Get lost.
434. Sure, when… – oink flap oink flap – well I’ll be darned!
435. Systems aren’t made from metaphors, paradigms and methodologies. They’re made from code, wires and hardware.
436. Tact is the art of making a point without making an enemy.
437. Take it easy, and if you get it easy take it twice.
438. Talk sense to a fool and he calls you foolish.
439. Teamwork is essential – it allows you to blame someone else.
440. The ability to quote is a serviceable substitute for wit.
441. The beatings will continue until morale improves.
442. The best things in life aren’t things.
443. The chance of a piece of bread falling the buttered side down is directly proportional to the cost of the carpet.
444. The computer was born to solve problems that did not exist before. — Bill Gates
445. The difference between genius and stupidity is that genius has its limits. — Albert Einstein
446. The difference between pornography and erotica is lighting.
447. The doctors X-rayed my head and found nothing.
448. The dumber people think you are, the more surprised they’re going to be when you kill them.
449. The early bird may get the worm, but the second mouse gets the cheese.
450. The future will be better tomorrow.
451. The Killer Ducks are coming!
452. The man who is swimming against the stream knows the strength of it.
453. The man who strikes first admits that his ideas have given out.
454. The most exciting phrase to hear in science, the one that heralds new discoveries, is not ‘Eureka!’, but ‘That’s funny…’ — Isaac Asimov
455. The only certain thing in life is death.
456. The only job you start at the top is digging a hole.
457. The only really decent thing to do behind a person’s back is pat it.
458. The only thing necessary for the triumph of evil is for good men to do nothing. — Edmund Burke
459. The only way to entertain some folks is to listen to them.
460. The only way to get rid of a temptation is to yield to it.
461. The optimist proclaims that we live in the best of all possible worlds; and the pessimist fears this is true. — James Branch Cabell
462. The person who knows how to laugh at himself will never cease to be amused.
463. The problem with the future is it turns into the present.
464. The pure and simple truth is rarely pure and never simple. — Oscar Wilde
465. The repairman will never have seen a model quite like yours before.
466. The revolution will not be televised.
467. The reward of a thing well done is to have done it.
468. The severity of the itch is inversely proportional to the ability to reach it.
469. The shortest distance between two points is under construction.
470. The sooner you fall behind, the more time you’ll have to catch up.
471. The Stock Market always does what you think it will, but rarely when.
472. The surprising thing about young fools is how many survive to become old fools.
473. The trouble with ignorance is that it picks up confidence as it goes along.
474. The truth is what is; what should be is a dirty lie.
475. The voices in my head may not be real, but they have some good ideas!
476. The web isn’t better than sex, but sliced bread is in serious trouble.
477. There are 10 types of people, those who understand binary and those who don’t.
478. There are no short cuts to any place worth going.
479. There are three kinds of lies: Lies, Damn Lies, and Statistics.
480. There are three types of people – those who can count and those who can’t.
481. There are two major products that come out of Berkeley: LSD and UNIX. We don’t believe this to be a coincidence. — Jeremy S. Anderson
482. There are two types of people – those who divide people into two types, and those who don’t.
483. There is no such thing as a stupid question, just stupid people who ask questions.
484. There is no such thing as an atheist in a foxhole.
485. There is no such thing as death, life is only a dream, and we are the imagination of ourselves. — Bill Hicks
486. There is no time like the pleasant.
487. There’s a fine line between fishing and just standing on the shore like an idiot.
488. There’s too much blood in my alcohol system.
489. They call it "pms" because "mad cow disease" was already taken.
490. They’re only trying to make me LOOK paranoid!
491. Think much, Speak little, Write less.
492. This sentence contradicts itself — no actually it doesn’t.
493. This website may not be idiot proof, but at least it’s dimwit resistant.
494. This will be a memorable month — no matter how hard you try to forget.
495. Those people who think they know everything are a great annoyance to those of us who do. — Isaac Asimov
496. Three may keep a secret, if two of them are dead.
497. Time flies like a bullet. Fruit flies like a banana.
498. To be is to do – Socrates, To do is to be – Sartre, Do be do be do – Sinatra
499. To err is human, to arr is pirate.
500. To err is human, to forgive highly unlikely.
501. To err is human, to really screw up requires the root password.
502. To err is hunam.
503. To generalize is to be an idiot.
504. To steal ideas from one person is plagiarism; to steal from many is research.
505. Today is the first day of the rest of this mess.
506. Today is the tomorrow you worried about yesterday.
507. Today’s children would be less spoiled if we could spank grandparents!
508. Tomorrow will be canceled due to lack of interest.
509. Too bad all the people who know how to run this country are busy running taxicabs or cutting hair.
510. Too much of a good thing is wonderful. — Mae West
511. Too much of everything is just enough.
512. Tracers work both ways.
513. Trying is failing with honors.
514. Two possibilities exist: Either we are alone in the Universe or we are not. Both are equally terrifying. — Arthur C. Clarke
515. Two wrongs don’t make a right, but three lefts do.
516. Two wrongs don’t make a right, but two Wrights made an airplane.
517. Unix is user friendly – it’s just picky about it’s friends.
518. Veni, vedi, visa. I came. I saw. I did a little shopping.
519. Veni, Vidi, Velcro – I came, I saw, I stuck around.
520. Vidi, vici, veni. I saw, I conquered, I came.
521. Viewer discretion may be advised, but it’s never really expected.
522. War does not determine who is right – only who is left. — George Bernard Shaw
523. Warning: Dates in calendar are closer than they appear.
524. Wasting time is an important part of living.
525. We all can’t be heroes. Somebody has to sit on the sides and clap as they go by.
526. We found Jesus – he was behind the sofa all along.
527. We live in a society where pizza gets to your house before the police.
528. Welcome to Hell. Here’s your copy of Windows ME.
529. Welcome what you can’t avoid.
530. What happens if you get scared half to death twice?
531. What has been seen cannot be unseen.
532. What the hell, go ahead and put all your eggs in one basket.
533. What we anticipate seldom occurs; what we least expect generally happens.
534. Whatever happens, ignore it all.
535. When a man steals your wife, there is no better revenge than to let him keep her.
536. When all else fails, admit i’m right and kiss my ass.
537. When blondes have more fun, do they know it?
538. When everything’s coming your way, you’re in the wrong lane.
539. When I am sad, I sing, and then the world is sad with me.
540. When I was young I was told that anyone could be president. Now I’m beginning to believe it.
541. When in doubt empty the magazine.
542. When in doubt, do what the President does. Guess.
543. When in doubt, poke it with a stick.
544. When it’s dark enough you can see the stars.
545. When someone points skyward, it’s the fool that looks at the finger.
546. When the pin is pulled, Mr. grenade is not our friend.
547. When vultures fly, are they allowed carrion luggage?
548. When you are in it up to your ears, keep your mouth shut.
549. When you don’t know what you are doing, do it neatly.
550. When you have nothing to say, say nothing.
551. Which is worse: Ignorance or apathy? Who knows? Who cares?
552. While having never invented a sin, I’m trying to perfect several.
553. Who are these kids and why are they calling me mom?
554. Whoever said nothing was impossible never tried slamming a revolving door.
555. Why buy shampoo when real poo is still free.
556. Why do they use sterile needles for lethal injections?
557. Why is the alphabet in that order? Is it because of that song?
558. Wise people think all they say; fools say all they think.
559. With a rubber duck, you’re never alone.
560. With sufficient thrust, pigs fly just fine.
561. Work harder: millions on welfare depend on you.
562. Work is the curse of the drinking class.
563. Worry does not empty tomorrow of its sorrow. It empties today of its strength.
564. Worry is a misuse of the imagination.
565. Worry is like a rocking chair; it keeps you busy, but gets you nowhere.
566. XML is like violence. If it doesn’t solve your problem, you’re not using enough of it.
567. You are only truly in control of your life when you accept you are not.
568. You can do more with a kind word and a gun than with just a kind word.
569. You can observe a lot just by watching.
570. You can only live once, but if you do it right, once is enough. — Mae West
571. You can tune a piano, but you can’t tuna fish.
572. You do not need a parachute to skydive. You only need a parachute to skydive twice.
573. You don’t have to explain something you never said.
574. You don’t learn anything the second time a mule kicks you.
575. You have enemies? Good. That means you’ve stood up for something, sometime in your life. — Winston Churchill
576. You laugh at me because I’m different. I laugh at you because you’re all the same.
577. You may delay, but Time will not. — Benjamin Franklin
578. You will be a winner today. Pick a fight with a four-year-old.
579. You’re driving a car. It isn’t a telephone booth, a beauty parlor or a restaurant.
580. You’re just jealous because the little voices only talk to me.
581. You’re not drunk if you can lie on the floor without holding on.
582. You’re only young once, but you can be immature forever.
583. Your true value depends entirely on what you are compared with

Exchange 2007 - CCR, restore, RSG and you

Written by: Mads Dam - 20.07.2010 - 0 comments

Okay, this blog-post is really just help for myself next time I encounter a need to restore something.

The scenario was - Try to restore just something in Exchange 2007 SP3 with a setup like this

Physical/Virtual servers:
DC1 (dc1.ilab.local) - domaincontroller, backup-server and general exchange management-server
MBX1 (mbx1.ilab.local) - Mailbox role
MBX2 (mbx2.ilab.local) - Mailbox role
CASHUB1 (cashub1.ilab.local) - Client Access role and Hub Transport role
CASHUB2 (cashub2.ilab.local - Client Access role and Hub Transport role

MBX1 and MBX2 are CCR-clustered to a name called MBX (mbx.ilab.local)
CASHUB1 and CASHUB2 are NLB'ed on the Client Access-role-side on port 80 and 443 to (mail.ilab.local)

Windows Server 2008 Service Pack 2 and all updates
Exchange Server 2007 Service Pack 3
Backup Exec 12 (and all updates)

Backups are taken onto tape - HP Ultrium 4 I think.. ILO, something.

Now to successfully restore something I had to do this:

  1. Create a new server called MBX3 which was not clustered and had loads of space

  2. Install the mailbox-role on the server

  3. Install a Backup Exec Remote Agent on it (note that Exchange-Agent is already builtin, no need to go search for another component :) )

  4. Create a Storage Group of the exact same name of the one I'm trying to restore to

  5. Create a Mailbox database in the newly created storagegroup of the exactly same name of the one I'm trying to restore to

  6. Create a Recovery Storage Group that's linked to this newly created Storage Group

  7. Use Backup Exec 12 to chose and entire mailbox database that I'd like to restore.. fx SG4DB

  8. Make sure under Exchange Redirection to redirect the Exchange Set to \\MBX3 and to redirect to the Recovery Storage Group created there.

  9. Submit the job, and wait.

  10. After successful restore (hopefully) I can use the builtin tool from the EMCs toolbox "Database Recovery Management" to Merge the restored mailboxes with the online ones. And yes, it WILL merge correctly into the correct storage group on the original MBX-mailboxserver.

Nothing happens to the newly created storage group and database of the exact same name - it will not use it, Backup Exec just wants it to be there, and the RSG to be linked to it.

Useful links:

These links only help so far - I had to actually make this MBX3-server that was not part of the CCR-cluster to make a successful restore.

Amazon - Recommended Exchange 2007 book
How to Cheat at Configuring Exchange Server 2007: Including Outlook Web, Mobile, and Voice Access

Herzlichen Gl├╝ckwunsch Deutschland!!!

Written by: Mads Dam - 30.05.2010 - 0 comments

Congratulations on winning the Eurovision Song Contest 2010, Germany! :)

Very nice show! Looking forward to your show next year =)

Exchange 2007, CCR Restore gone bad?

Written by: Mads Dam - 25.05.2010 - 0 comments

I've experienced a restore (by Backup Exec Single Item Recovery) gone bad a couple of times now, making the storage groups database unmountable. If that ever happens to you - note this!

If you suspended CCR-replication before attempting the now failed restore - Then you at least have a valid mailbox-database with every logfile leading up to when you suspended the replication! (The passive copy!)

Furthermore, logfiles keep being generated from the continuous mailflow on the active node.

If your restore failed, and the above is true - then you can simply copy and overwrite the existing mailbox database from the passive node to the active node. Make sure you have all necessary logfiles in place, and mount the store! Remember to resume replication!

Your restore still failed, but at least you're up and running again!

There's no guide in this blog-post, only reminders for myself, and others, if this issue occurs for anyone (myself!) in the future :)

IE8 Trusted sites Zones Comparison

Written by: Mads Dam - 20.05.2010 - 0 comments

So, what's the difference between Trusted Sites Medium-Low versus Medium-settings? We had some issues at work at one point. Some applications helpsite didn't work on IE8 - Well it did, but only on SOME computers. It worked perfectly on IE7, Chrome and Firefox. So, it had to be a setting in IE8.

I eventually found out that it was the Smartscreen-filter that bugged the helpsite - but before I found out, I copy-pasted and glued together the differences between Trusted Sites Medium and Medium-Low setting - Hopefully others can use it in the future :)

Java 6 and / deployment.config

Written by: Mads Dam - 23.04.2010 - 10 comments

So, ever wanted to deploy Java-settings centrally? Or via an image?

There are a lot of sites on the net, trying to explain how to use Suns/Oracles own deployment.config/ system to set these central settings. But I have always had a problem finding actual working examples. I hope my post here can help.

Personally with Java 6 Update 19 (and now 20), I started seeing people complain about the security dialogue about untrusted/external code and do I want to run it (yes or no), with no "remember me"-button. Well, basically I agree with the decision to force users to click either yes or no every time, cause again this forces us programmers to actually write better code and not take too many shortcuts. However, as an enterprise administrator I also see the annoyance to users this dialogue box present.

Since Sun/Oracle don't provide registry-settings we Windows-administrators can set (naturally because Java is platform neutral), we can basically only use the file. So.. here goes.

In short, here's what I did:

  • Created %WinDir%\Sun\Java\Deployment-folders
  • Created a deployment.config file
  • Created a file

In deployment.config you put in these lines:

In you put the settings you want to set - I put this line to disable the security dialogue:

This directory structure can be put into my image so I can deploy it automatically to new machines. But I suspect that you could also place it on a fileshare or website or whatever. Loginscripts are also a happy place to put them :) Choices choices!!

Exchange 2007 SP2 - Full Access and Send As-rights

Written by: Mads Dam - 13.04.2010 - 0 comments

So, interesting. I see many people have problems with making sure that some users can send e-mails as another user, on behalf of another user, and even access another users mailbox entirely.

There are 3 scenarios here:

  •  You want to let a user send as another user
    (as if the other user themselves sent the e-mail)

  • You want to let a user send on behalf of another user
    (the receiving person sees that it's you sending on behalf of the other

  • You want to give a user full accessrights to another users mailbox
    (The user can access another users mailbox and read all items in it.)

Note that giving a person FullAccessrights is NOT the same as giving them Send-As or SendOnBehalf-permissions!! The user is only able to read the items in the other users mailbox, he/she cannot send e-mails!


To give a user FullAccess-rights on another users mailbox, do this in Exchange Management Shell(EMS):

Add-MailboxPermission "Mailbox" -User "Trusted User" -AccessRights FullAccess

Add-MailboxPermission "madsd" -User "jesper" -AccessRights FullAccess

This gives Jesper the FullAccess-rights to go open and browse all of my mailbox (but he cannot send e-mail)

Effective: Immediately!


To give a user the Send-As permission on another users mailbox, do this in EMS:

Add-ADPermission "Mailbox" -User "Domain\User" -Extendedrights "Send As"

Add-ADPermission "madsd" -User "isites\jesper" -Extendedrights "Send As"

This gives jesper the ability to send and e-mail as me, so it'll look as if it's coming directly from me. The recipient won't know Jesper sent it.

Effective: When replication has finished or when MS Exchange Information Store-service has been restarted!


To give a user the SendOnBehalf-permission, do this:

Search here (cause I'm too lazy to find out ^^)

DISM Add-Package, Updates, Windows 7 Deployment and I

Written by: Mads Dam - 30.03.2010 - 2 comments

So, how to slipstream updates to a Windows 7 image??? What a lovely quest I was on there :D

In the old days, it was called slipstreaming updates and service packs into Windows images. But no more - Now it's called servicing an offline image by adding packages! Oh my xxx, that is annoying. Anyway, in Windows 7 we have the wonderful tool dism.exe - It's command-line only at the moment, but I read somewhere that MS is working on a GUI-version of the tool. Joy?

UPDATED 6 May 2010: Added Add-Drivers (+ expand-section)

First, you need to have some folders on your harddrive, I have:

Next, I have my image-file lying in C:\image, and I run all commands from that folder in a commandpromt with administrative priviledges.

  • Mount your image!
    dism /Mount-Wim /WimFile:Windows7_20100330.wim /index:1 /MountDir:mount

  • Apply your downloaded MSU-packages ( and search for kb-numbers) one by one:
    dism /image:.\mount /Add-Package /PackagePath:.\Updates\xxxxx.msu

  • Apply your downloaded drivers (preferably WHQL-certified!)
    dism /image:.\mount /Add-Driver /Driver:.\drivers /Recurse

  • Unmount and commit the image!
    dism /Unmount-Wim /MountDir:mount /commit

That's it! The image is updated and ready to be deployed, wohoo.

Here's some more info:

  • Windows Defender update has the same KB-article number every time. It's an EXE-file and cannot be added like other updates

  • Malicious Software Removal tool has the same annoying flaws as Windows Defender (save the KB-number) and is also an EXE-file.

  • You can make a batch-file: fx updateall.cmd which can enumerate all files in the updates-folder and apply them all to the mounted image. I use this:
    for %%g in (.\Updates\*.msu) do dism /Image:.\mount /Add-Package /PackagePath:%%g

  • Drivers in subdirectories of the C:\image\drivers-folder are already applied recursively because of the /recurse-switch. So it doesn't matter that you seperate all drivertypes into subfolders named fx; lan, wlan, audio, video and so on.

  • Regarding drivers, you might have to use the expand-command to expand files ending with an underscore. Expand to a temporary directory, then take those files and replace them with the originals. (You might notice larger filesizes on the expanded files in the temporary directory). Here's the command:
    expand *.*_ C:\image\temp (I don't know if you have to create the temp-folder first.)

Thanks for reading! Hope you can use it!

Exchange 2007 - CCR logfiles, storagegroups and databases

Written by: Mads Dam - 22.03.2010 - 0 comments

Horrible.. horrible Exchange 2007 :) So complex and yet so lovely.

For a couple of times, I've experienced my failure as an exchange administrator. I've been running into the dreaded harddisks running full with logfiles. My problem was that I wasn't paying attention to the logfiles being purged by Backup Exec. Why should I? Backup Exec noted everything was normal and okay!

The problem is, if you follow Backup Execs' recommendation and taking backup of the passive copy of the ccr-cluster, then... if CCR-replication is unhealthy (aka not functioning) then the logfiles of the passive copy can be purged all it want... the active copy knows nothing about it! Hence I had a full harddisk-problem filled with logfiles.

So, I asked dear Exchange.. which file is my checkpoint file with:
eseutil /mk PATH-TO-CHK-file
and deleted every logfile up to that file. It'll give you space enough to mount the database again :D

The above solution ruined my ccr-replication, and the only solution I've found is rather just a work-around. Make a new storage-group, and move all mailboxes to it! As long as you can mount the database (which should be possible if there's space on the logfiles-harddisk), then moving mailboxes will work just fine.

Amazon - Recommended Exchange 2007 book
How to Cheat at Configuring Exchange Server 2007: Including Outlook Web, Mobile, and Voice Access

My birthday!

Written by: Mads Dam - 05.03.2010 - 0 comments

Yay, it's my birthday! WAUW

I also finally completed the part of the sites I wanted commentable. You can go into My IT-stuff, and Games-stuff and comment all you want, if you want ofc ;)

So.. birthday, I wonder what will happen. Time is 00:18 at the moment and I'm getting ready to go to bed. I already was out with Jesper buying my birthday-present from him today at Rødovre Centrum - A nice shopping mall really. I got some lovely underwear.

Anyway, off to bed with me. Have fun all :)

Update (23:24)
It's been a nice day - I got a rechargeable vacuum cleaner so it's easier to clean the car.. yay - I've got 2xHugo Boss underwear.. very nice to have on ;) I've got 1 gift certificate for whatever store I choose, yay (clothes!!!) and 1 gift certificate for a specific shopping centre.. YAY. /love.

The day has been nice. Vacation day, I always elect to get my birthday off and this year is no different. When Jesper got home from school, we went and tried out a Mini Cooper D - he fits! =) Only problem is, there's no room behind us for passengers, so if it's a car we want, then it'll probably be a Mini Cooper Clubman instead. It has to be functionable!

Later tonight we went out and had dinner. Very cheap too, because we used a gift certificate I got some last year from work for "A better dinner". This apparently involved a 3-course dinner starting with... starters ^^, a lovely main course, and dessert. Very lovely. It was at a winebar called Il Senso quite nice. Recommendable :)

And to finish of the evening at home, we're playing World of Warcraft where Jesper is taking me through 3 instances.. Razorfen Downs followed by Uldaman and finished off in Zul'Farrak :)

All in all a nice day :)

First blog entry

Written by: Mads Dam - 04.03.2010 - 0 comments

Wauw, so I finally did it!

My very first blog-entry :) Took awhile, but it's finally here... AND commentable :D Amazing, isn't it? Okay, maybe not to you guys, but I like it.

Homebrewed, blogging-thingie, using tinymce (as Wordpress uses) for text-editing. So, what to write about? Well - Firstly, I can say, that I'm going to convert my existing pages with games and my it-stuff into these entries as well, mainly because I'd like people to be able to comment on them too.

But now... it's late around here, so, nighty night people.