Skip to content

Create a list of operation system and build version from active directory clients with powershell

So the task was a result of a short question of "Do you know if each windows client got their upgrade?".

It turned out that it was easy to ask this question in powershell to the active directory.

Get-ADComputer -Filter { (Enabled -eq $true) -and (OperatingSystem -notlike "*server*") } -Properties Name,OperatingSystem,OperatingSystemVersion,SID | Format-Table

But, as usual, this results in to much information. Quickly some features where requested. We want to:

  • put this question into a script to ask it in a well defined way over and over again
  • we want to reduced the amount of information
  • we want to be able to filter against operation system
  • we want to filter against build version if more than one build version exists
  • we want to put it to a csv file

I was able to set all feature requests to "done" and more or less, you can find the result here.

Translate to de es fr it pt ja

Using thecodingmachine docker images with podman

I wanted to quickly develop something. I thought this is the perfect timing to migrate mentally from the insecure and almost dead docker to the alive and secure podman.

I went to the page of thecodingmachine and tried it with the following one-liner:

podman run -p 80:80 --rm --name php-bazzline -v "$PWD":/var/www/html thecodingmachine/php:7.4-v3-apache

Sadly nothing is working so I've created a feature request asking for podman support.

My current workaround is following

sudo -c "echo '<username>:100000:65536' >> /etc/subuid"
sudo -c "echo '<username>:100000:65536' >> /etc/subgid"
sudo reboot

And adapt the start up as following to prevent port issues (you are not allowed - by default - to use ports below 1024).

podman run -p 8080:80 --rm --name php-bazzline -v "$PWD":/var/www/html thecodingmachine/php:7.4-v3-apache

Thats it.

Translate to de es fr it pt ja

How to fix: Android Nexus 5x (nexus5x/bullhead) wlan connect and disconnect and how to solve it (enable bluetooth)

I found an old Nexus 5x and installed the linageos-fork from the e.foundation on it.

All is working fine except some WiFi-Access Points where the Phone connects itself to disconnect itself right afterwards and tries the same game again.

Long story short, thanks to reddit.com, the answer is to enable Bluetooth. With Bluetooth turned on, the wifi connection is table.

Translate to de es fr it pt ja

Microsoft Sticky Notes Alternative Windows 10

After upgrading many clients to Windows 10, we ran into multiple issues with Microsofts Sticky Notes. Notes are "lost", Sticky Notes stopped working or has been removed by the system or what ever.

Simply Sticky Notes is our decided alternative.

Benefits are:

  • multiple language support
  • lightweight
  • contains backup mechanism
  • notes are stored in a sqlite database
  • you can move the storage path wherever you want
    Translate to de es fr it pt ja