Powershell: Export/Convert a X509 Certificate to pem format

Hi,

powershell respectively the .NET framework does not offer a method to export a X509 certificate in PEM format. The pem format is a Base64 encoded view from the raw data with a header and a footer.

An example to export the machine certificate (with Thumbprint: 1C0381278083E3CB026E46A7FF09FC4B79543D) of an computer
Continue reading Powershell: Export/Convert a X509 Certificate to pem format

Advertisment to support michlstechblog.info

Linux: Install LAMP Stack on Debian 10 (Buster)

Hi ,

this post describes the steps to install a lamp stack on debian linux. This is the base for many content management systems like Joomla, WordPress or Drupal.
Continue reading Linux: Install LAMP Stack on Debian 10 (Buster)

VMware: Upgrade VMware tools without reboot

Hi

by default when upgrading the VMware tools of an VM and a reboot is requested the VM autmatically reboots after installation.
Continue reading VMware: Upgrade VMware tools without reboot

Windows: Download appx packages from Microsoft Store (Example install the new Windows Terminal offline)

Hi,

the store itself does not have an option to download appx packages directly from the Windows store.
Continue reading Windows: Download appx packages from Microsoft Store (Example install the new Windows Terminal offline)

Powershell/Excel: Check if a excel document contains macros

Hi,

this script can be used to check if excel contains some active code. It opens the excel file in an safe way and looks for VB content and write the full file path to the console if macros are found.
Continue reading Powershell/Excel: Check if a excel document contains macros

My Knowledgebase for things about Linux, Windows, VMware, Electronic and so on…