Powershell: Write XML files with UNIX line endings

Hi,

if you want to create XML files with powershell which can be used on UNIX/Linux systems you need to write an own save function. Ths save() methode of the System.XML.XMLDocument class can only write Windows style XML files with Carriage return/New line endings.
Continue reading Powershell: Write XML files with UNIX line endings

Windows: Lock the screen by command line

Hi,

there is no command line tool that can lock the screen, but it’s possible by calling the Win32 API function.
This can be done by Rundll32.exe
Continue reading Windows: Lock the screen by command line

openssl: List ciphersuites from SSL_CTX_set_cipher_list

Hi,

a customer needs a list of valid ciphersuites from a given allowed SSL_CTX_set_cipher_list.
Continue reading openssl: List ciphersuites from SSL_CTX_set_cipher_list

Windows: Check if computer is joined to Azure AD

Hi,

if you want to check if a computer is joined ADFS and/or Azure AD use
Continue reading Windows: Check if computer is joined to Azure AD

Windows 11: Enable the Explorer Ribbonbar

Hi,

Windows 11 comes with a “face lift”. The Ribbon bar of the explorer, introduced in Windows Vista, was removed. But many User likes them because many functions like copy etc. can really fast accessed without opening a context menu.
Continue reading Windows 11: Enable the Explorer Ribbonbar

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