Trond Jakob Sjøvang

July 17, 2017
Get-ADUser -Filter "*" -SearchBase "ou=Users,dc=contoso,dc=com" -Properties "DisplayName", "msDS-UserPasswordExpiryTimeComputed" |
    Select-Object -Property "Displayname",@{Name="ExpiryDate";Expression={[datetime]::FromFileTime($_."msDS-UserPasswordExpiryTimeComputed")}}
December 2, 2016

This is an old example (albeit with a few updates) on how to use Ansible’s ACME-module to generate free certificates and validated them with a DNS record.

The example use Cloudflare for DNS, but any provider with an ansible module works.

To use the example, add your own email, api token and domain name to variables. To receive a certificate with an actual trusted root, change ACME Directory to

January 10, 2016
Beach Day

Only 30 minutes driving east from Puerto Escondido you’ll find Tierra Blanca. There’s a restaurant right next to the road, but walk 5 minutes along the beach and you’ll be all by yourself. Pretty much the defintion of a perfect beach day.

July 4, 2015
Our last stop in the “Tour de ruins” is Palenque in Chiapas. Located in the middle of the jungle, the site is very different from both Monte Albán and Teotihuacan. Besides visiting the park there really isn’t very much to do in Palenque. The only other thing I would recommend for a visit is to make sure to get a reservation at Bajlum. The restaurant serves a sort of modernized Mayan food with all local ingredients either gathered or hunted from the nearby jungle. ...
July 2, 2015
Monte Albán, Oaxaca

Day two in Oaxaca City and time for a visit to Monte Albán. Visiting in the off-season has some perks: It was not crowded at all, and the beginning of the rainy season ment the whole site was a lush green with grassy fields between all the structures