PowerShell SnippetRace 40-2021

Strings, html-reports, Windows11, Secureboot

Events

Snippets

Strings to Objects

Microsoft is working on crescendo, a tool to wrap PowerShell around commandline tools. One challenge with this is the output, which mosty consists of „unorganized“ strings. Read Sean Wheelers blog on converting String to PSObjects to convert output like this:

to something like this:

Generate HTML Report

Fetching data and presenting it is one of the main tasks of PowerShell. If you want to do this in HTML, read this blog on your first steps.

Not mindblowing, but HTML…

Windows 11 Configuration by PowerShell

Jaap Brasser wrote a PS-Module to customize all the tiny things in Windows 11 from the commandline. There are already 63 Commands in the module, maybe more to come. Watch the github repository.

Check if Secureboot is enabled.

If you plan to upgrade to Windows 11, Secureboot should be ON. Read Patricks blog on doing this via PowerShell.

Have a nice week ! R.

Photo by Michael Dziedzic on Unsplash